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 {
127
127
& .top-banner-open {
128
128
margin-top : 5px ;
129
129
transition : all 0.2s linear ;
130
+
130
131
+ breakpoint ('tablet' ) {
131
132
margin-top : 48px ;
132
133
}
@@ -1840,6 +1841,15 @@ footer {
1840
1841
color : rgb (0 , 0 , 0 ) !important ;
1841
1842
}
1842
1843
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
+
1843
1853
.top-banner {
1844
1854
background : linear-gradient (90deg , #ff 4f 40 0% , #ff 44 dd 99.99% );
1845
1855
border-radius : 8px ;
@@ -1850,7 +1860,7 @@ footer {
1850
1860
opacity : 1 ;
1851
1861
box-sizing : border-box ;
1852
1862
margin : 0 auto ;
1853
- position : absolute ;
1863
+ position : fixed ;
1854
1864
top : 12px ;
1855
1865
z-index : 1000 ;
1856
1866
width : 100% ;
Original file line number Diff line number Diff line change
1
+ .top-banner-bg
1
2
.top-banner
2
3
.top-banner-container
3
4
div
You can’t perform that action at this time.
0 commit comments