Skip to content

Commit 0a84146

Browse files
committed
Tidy up redundant CSS
1 parent c41e918 commit 0a84146

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

sections/header.liquid

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,16 @@
7373

7474
{% stylesheet %}
7575
.section-sticky-header {
76-
background-color: #fff;
76+
--bg-color: #fff;
77+
background-color: var(--bg-color);
7778
top: 0;
7879
isolation: isolate;
79-
z-index: 10;
80+
z-index: 100;
8081
}
8182

8283
.sticky-header-hidden,
8384
.sticky-header-stuck {
8485
position: sticky;
85-
top: 0;
86-
z-index: 10;
8786
will-change: transform;
8887
transition: all var(--duration-medium) ease-out;
8988
}
@@ -106,7 +105,7 @@
106105
}
107106

108107
.nav-submemu {
109-
background: #fff;
108+
background: var(--bg-color);
110109
display: none;
111110
left: 0;
112111
list-style-type: none;

0 commit comments

Comments
 (0)