File tree Expand file tree Collapse file tree 3 files changed +16
-22
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 3 files changed +16
-22
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ const hoverStyles = css`
9090
9191/** When we hover on sublinks, we want to prevent the general hover styles applying */
9292const sublinkHoverStyles = css `
93- : has (ul .sublinks : hover ) {
93+ : has (ul .sublinks : hover , . branding-logo : hover ) {
9494 .card-headline .show-underline {
9595 text-decoration : none;
9696 }
@@ -235,10 +235,6 @@ const waveformStyles = css`
235235 opacity : 0.3 ;
236236` ;
237237
238- const wrapperStyles = css `
239- padding-top : ${ space [ 3 ] } px;
240- ` ;
241-
242238const getMedia = ( {
243239 imageUrl,
244240 imageAltText,
@@ -738,20 +734,18 @@ export const FeatureCard = ({
738734 />
739735 ) }
740736 { isLabs && branding && showLabsRedesign && (
741- < div css = { wrapperStyles } >
742- < SponsoredContentLabel
743- branding = { branding }
744- containerPalette = { containerPalette }
745- orientation = "horizontal"
746- alignment = "end"
747- ophanComponentLink = {
748- labsDataAttributes ?. ophanComponentLink
749- }
750- ophanComponentName = {
751- labsDataAttributes ?. ophanComponentName
752- }
753- />
754- </ div >
737+ < SponsoredContentLabel
738+ branding = { branding }
739+ containerPalette = { containerPalette }
740+ orientation = "horizontal"
741+ alignment = "end"
742+ ophanComponentLink = {
743+ labsDataAttributes ?. ophanComponentLink
744+ }
745+ ophanComponentName = {
746+ labsDataAttributes ?. ophanComponentName
747+ }
748+ />
755749 ) }
756750 </ div >
757751 </ ContainerOverrides >
Original file line number Diff line number Diff line change @@ -499,13 +499,12 @@ const sponsoredContentLabelWrapper = css`
499499 grid- row: botto m- content;
500500 grid- column: content;
501501
502- margin: ${ space [ 1 ] } px 0 0;
503502 ${ from . tablet } {
504503 /*
505504 * side margins of 10px due to the -10px margins on the
506505 * grid area for content, to align with the card edges
507506 */
508- margin: ${ space [ 1 ] } px 10px 0 ;
507+ margin: 0 10px;
509508 }
510509` ;
511510
Original file line number Diff line number Diff line change @@ -34,9 +34,10 @@ const labelStyles = css`
3434` ;
3535
3636const wrapperStyles = css `
37- padding- to p: ${ space [ 1 ] } px;
37+ padding- to p: ${ space [ 2 ] } px;
3838 dis play: flex;
3939 justify- content: end;
40+ gap: ${ space [ 1 ] } px;
4041` ;
4142
4243const horizontalStyles = css `
You can’t perform that action at this time.
0 commit comments