Skip to content

Commit

Permalink
fix: fixed window top scroll on search input change
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Khrebtov authored and reazy015 committed Dec 16, 2024
1 parent 476ae92 commit da7d9a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/styles/default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ body {
box-sizing: border-box;
}

:root {
scroll-padding-top: var(--header-height, 0);
:target {
scroll-margin-top: var(--header-height, 0);
}

.g-root {
Expand Down

0 comments on commit da7d9a6

Please sign in to comment.