File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 11.promo-banner {
2+ font-size : 15px ;
23 background : var (--accent-yellow );
3- padding : 0.5rem ;
4+ padding : 0.5rem 1 rem ;
45 display : flex ;
56 justify-content : center ;
67 position : relative ;
3839
3940.promo-banner-dismiss {
4041 background : var (--flame6 );
41- height : 3rem ;
42- width : 3rem ;
42+ height : 1.5rem ;
43+ width : 1.5rem ;
44+ font-size : 1rem ;
4345 line-height : 100% ;
44- font-size : 2.5rem ;
4546 border-radius : 3rem ;
4647 text-align : center ;
4748 position : absolute ;
5455 text-decoration : none ;
5556 }
5657
57- @media (min-width : 576px ) {
58- height : 1.5rem ;
59- width : 1.5rem ;
60- font-size : 1rem ;
58+ @media (max-width : 576px ) {
59+ top : 1.5rem ;
60+ right : 1rem ;
6161 }
6262}
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ export function Banner() {
151151 return banner ? (
152152 < div className = { [ styles [ 'promo-banner' ] ] . filter ( Boolean ) . join ( ' ' ) } >
153153 < div className = { styles [ 'promo-banner-message' ] } >
154- < span className = "flex gap-4" >
154+ < span className = "flex flex-col md:flex-row gap-4" >
155155 { banner . text }
156156 < a href = { banner . linkURL } className = "min-w-max" >
157157 { banner . linkText }
You can’t perform that action at this time.
0 commit comments