Skip to content

Commit

Permalink
Refactor GlobalHeader.vue styles: Update translate values for smooth …
Browse files Browse the repository at this point in the history
…animation
  • Loading branch information
totocalcio committed Oct 13, 2024
1 parent 0e6b766 commit 9324547
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/web/app/components/GlobalHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,14 @@ const getAnchorPath = computed(
transition:
translate 0.6s cubic-bezier(0.4, 0, 0.2, 1),
display 0.6s cubic-bezier(0.4, 0, 0.2, 1) allow-discrete;
translate: 0 -100%;
translate: 0 -100dvh;
z-index: 1;
&[open] {
translate: 0 0;
@starting-style {
translate: 0 -100%;
translate: 0 -100dvh;
}
}
Expand Down

0 comments on commit 9324547

Please sign in to comment.