Skip to content

Commit e6aedfd

Browse files
committed
Refactor GlobalHeader.vue styles
1 parent d6fc734 commit e6aedfd

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

apps/web/app/components/GlobalHeader.vue

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,13 @@ const getAnchorPath = computed(
118118
width: 100vw;
119119
text-align: center;
120120
background-color: var(--color-white);
121-
z-index: 1;
122-
123-
width: 100%;
121+
padding: calc(var(--unit) * 5) 0;
124122
border: 0;
125123
transition:
126124
translate 0.6s cubic-bezier(0.4, 0, 0.2, 1),
127125
display 0.6s cubic-bezier(0.4, 0, 0.2, 1) allow-discrete;
128126
translate: 0 -100%;
127+
z-index: 1;
129128
130129
&[open] {
131130
translate: 0 0;
@@ -135,10 +134,6 @@ const getAnchorPath = computed(
135134
}
136135
}
137136
138-
& > div {
139-
padding: calc(var(--unit) * 5) 0;
140-
}
141-
142137
ul {
143138
padding: 0;
144139
display: flex;

0 commit comments

Comments
 (0)