File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
dotcom-rendering/src/components/Card Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -862,7 +862,6 @@ export const Card = ({
862862 return (
863863 < CardWrapper
864864 format = { format }
865- contextFormat = { contextFormat }
866865 showTopBarDesktop = { showTopBarDesktop }
867866 showTopBarMobile = { showTopBarMobile }
868867 containerPalette = { containerPalette }
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ import { FormatBoundary } from '../../FormatBoundary';
99type Props = {
1010 children : React . ReactNode ;
1111 format : ArticleFormat ;
12- contextFormat ?: ArticleFormat ;
1312 showTopBarDesktop : boolean ;
1413 showTopBarMobile : boolean ;
1514 containerPalette ?: DCRContainerPalette ;
@@ -90,7 +89,7 @@ const mobileTopBarStyles = (colour: string) => css`
9089` ;
9190const desktopTopBarStyles = ( colour : string ) => css `
9291 ${ from . tablet } {
93- ${ topBarStyles }
92+ ${ topBarStyles ( colour ) }
9493 }
9594` ;
9695
You can’t perform that action at this time.
0 commit comments