File tree Expand file tree Collapse file tree 1 file changed +18
-18
lines changed
dotcom-rendering/src/components Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -22,24 +22,6 @@ type Props = {
2222 format : ArticleFormat ;
2323} ;
2424
25- const standardCardStyles = css `
26- position : relative;
27- padding : ${ space [ 2 ] } px;
28- background-color : ${ palette ( '--onward-more-galleries-card-background' ) } ;
29-
30- ${ from . tablet } {
31- : not (: first-child )::before {
32- content : '' ;
33- position : absolute;
34- top : 0 ;
35- bottom : 0 ;
36- left : -10px ; /* shift into the gap */
37- width : 1px ;
38- background : ${ palette ( '--onward-content-border' ) } ;
39- }
40- }
41- ` ;
42-
4325const standardCardsListStyles = css `
4426 width : 100% ;
4527 display : grid;
@@ -77,6 +59,24 @@ const cardsContainerStyles = css`
7759 }
7860` ;
7961
62+ const standardCardStyles = css `
63+ position: relative;
64+ padding: ${ space [ 2 ] } px;
65+ background- color : ${ palette ( '--onward-more-galleries-card-background' ) } ;
66+
67+ ${ from . tablet } {
68+ : not (: first- child)::before {
69+ content : '' ;
70+ position : absolute;
71+ top : 0 ;
72+ bottom : 0 ;
73+ left : -10px ; /* shift into the gap */
74+ width : 1px ;
75+ background : ${ palette ( '--onward-content-border' ) } ;
76+ }
77+ }
78+ ` ;
79+
8080const headerStyles = css `
8181 color : ${ palette ( '--carousel-text' ) } ;
8282 ${ headlineBold24 } ;
You can’t perform that action at this time.
0 commit comments