File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ body {
127127 & .top-banner-open {
128128 margin-top : 5px ;
129129 transition : all 0.2s linear ;
130+
130131 + breakpoint ('tablet' ) {
131132 margin-top : 48px ;
132133 }
@@ -1840,6 +1841,15 @@ footer {
18401841 color : rgb (0 , 0 , 0 ) !important ;
18411842}
18421843
1844+ .top-banner-bg {
1845+ position : fixed ;
1846+ top : 0 ;
1847+ background : black ;
1848+ width : 100% ;
1849+ height : 48px ;
1850+ z-index : 100 ;
1851+ }
1852+
18431853.top-banner {
18441854 background : linear-gradient (90deg , #ff 4f 40 0% , #ff 44 dd 99.99% );
18451855 border-radius : 8px ;
@@ -1850,7 +1860,7 @@ footer {
18501860 opacity : 1 ;
18511861 box-sizing : border-box ;
18521862 margin : 0 auto ;
1853- position : absolute ;
1863+ position : fixed ;
18541864 top : 12px ;
18551865 z-index : 1000 ;
18561866 width : 100% ;
Original file line number Diff line number Diff line change 1+ .top-banner-bg
12.top-banner
23 .top-banner-container
34 div
You can’t perform that action at this time.
0 commit comments