File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ const sublinkHoverStyles = css`
62
62
}
63
63
` ;
64
64
65
- const desktopTopBarStyles = css `
65
+ const topBarStyles = css `
66
66
: before {
67
67
border-top : 1px solid ${ palette ( '--card-border-top' ) } ;
68
68
content : '' ;
@@ -72,12 +72,14 @@ const desktopTopBarStyles = css`
72
72
background-color : unset;
73
73
}
74
74
` ;
75
-
76
75
const mobileTopBarStyles = css `
77
76
${ until . tablet } {
78
- ${ desktopTopBarStyles }
77
+ ${ topBarStyles }
79
78
}
80
79
` ;
80
+ const desktopTopBarStyles = css `
81
+ ${ topBarStyles }
82
+ ` ;
81
83
82
84
const onwardContentStyles = css `
83
85
border-radius : ${ space [ 2 ] } px;
Original file line number Diff line number Diff line change @@ -506,7 +506,8 @@ export const StandardCardLayout = ({
506
506
showTopBarMobile = {
507
507
! isFirstRow ||
508
508
( containerLevel === 'Primary' &&
509
- ! isMediaCard ( card . format ) )
509
+ ! isMediaCard ( card . format ) ) ||
510
+ ( containerLevel !== 'Primary' && cardIndex > 0 )
510
511
}
511
512
trailText = { undefined }
512
513
// On standard cards, we increase the headline size if the trail image has been hidden
You can’t perform that action at this time.
0 commit comments