Skip to content

Commit d235948

Browse files
committed
Fix spacing between headine and stars/pill
1 parent 32a0b30 commit d235948

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dotcom-rendering/src/components/Masthead/HighlightsCard.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ const hoverStyles = css`
9898
const content = css`
9999
display: flex;
100100
flex-direction: column;
101+
justify-content: space-between;
101102
gap: ${space[1]}px;
102103
103104
${from.tablet} {

dotcom-rendering/src/components/ScrollableHighlights.importable.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ const carouselStyles = css`
5050
scroll-padding-left: 160px;
5151
padding-left: 160px;
5252
}
53-
5453
${from.wide} {
5554
scroll-padding-left: 240px;
5655
padding-left: 240px;
@@ -162,7 +161,7 @@ const generateCarouselColumnStyles = (totalCards: number) => {
162161
/**
163162
* Typically, Ophan tracking data gets determined in the front layout component.
164163
* As the highlights exists outside of this front layout (in the header), we need to construct these fields here.
165-
* */
164+
*/
166165
const getOphanInfo = (frontId?: string) => {
167166
const ophanComponentName = ophanComponentId('highlights');
168167
const ophanComponentLink = `container-${0} | ${ophanComponentName}`;

0 commit comments

Comments
 (0)