File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed
dotcom-rendering/src/components/marketing/banners/designableBanner Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -554,14 +554,18 @@ const styles = {
554
554
555
555
${ from . desktop } {
556
556
padding : ${ space [ 3 ] } px ${ space [ 8 ] } px ${ space [ 6 ] } px ${ space [ 3 ] } px;
557
- grid-template-columns : auto 380px 300px auto ;
557
+ grid-template-columns : auto 380px 300px 1 fr ;
558
558
grid-template-rows : auto 1fr auto;
559
559
width : 100% ;
560
- max-width : 1300 px ;
560
+ max-width : 980 px ;
561
561
margin : 0 auto;
562
562
}
563
563
${ from . leftCol } {
564
- grid-template-columns : auto 460px 485px auto;
564
+ grid-template-columns : auto 460px 380px 1fr ;
565
+ max-width : 1140px ;
566
+ }
567
+ ${ from . wide } {
568
+ grid-template-columns : auto 460px 380px 1fr ;
565
569
}
566
570
` ,
567
571
verticalLine : css `
@@ -588,6 +592,10 @@ const styles = {
588
592
${ from . phablet } {
589
593
grid-column : 4 ;
590
594
grid-row : 1 ;
595
+ justify-self : start;
596
+ position : sticky;
597
+ top : 10px ;
598
+ padding-left : 32px ;
591
599
}
592
600
` ,
593
601
// hacky change until we can rework the designable banner header with the correct styles
@@ -691,7 +699,6 @@ const styles = {
691
699
grid-column : 3 ;
692
700
grid-row : 1 ;
693
701
grid-row-end : 3 ;
694
- padding-right : ${ space [ 8 ] } px;
695
702
}
696
703
` ,
697
704
guardianLogoContainer : css `
@@ -703,8 +710,8 @@ const styles = {
703
710
justify-content : center;
704
711
align-items : center;
705
712
margin-top : ${ space [ 9 ] } px;
706
- margin-right : - ${ space [ 3 ] } px;
707
- margin-left : 8 px ; // Add this line to ensure the logo is always 8px away from the line
713
+ margin-right : ${ space [ 2 ] } px;
714
+ margin-left : 22 px ;
708
715
}
709
716
` ,
710
717
You can’t perform that action at this time.
0 commit comments