Skip to content

Commit 9324547

Browse files
committed
Refactor GlobalHeader.vue styles: Update translate values for smooth animation
1 parent 0e6b766 commit 9324547

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/web/app/components/GlobalHeader.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,14 +126,14 @@ const getAnchorPath = computed(
126126
transition:
127127
translate 0.6s cubic-bezier(0.4, 0, 0.2, 1),
128128
display 0.6s cubic-bezier(0.4, 0, 0.2, 1) allow-discrete;
129-
translate: 0 -100%;
129+
translate: 0 -100dvh;
130130
z-index: 1;
131131
132132
&[open] {
133133
translate: 0 0;
134134
135135
@starting-style {
136-
translate: 0 -100%;
136+
translate: 0 -100dvh;
137137
}
138138
}
139139

0 commit comments

Comments
 (0)