Skip to content

Commit

Permalink
Firefox以外のブラウザだとスクロールバーの分だけ横にはみ出してしまうので100vwではなく100%を用いる
Browse files Browse the repository at this point in the history
  • Loading branch information
yuma140902 committed Dec 28, 2023
1 parent 901d4e3 commit 572bd4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ h2.ui-icon-text > .material-symbols-rounded {
background: color-mix(in srgb, var(--color-header) 30%, transparent);
border-bottom: solid 1px color-mix(in srgb, var(--color-header) 45%, transparent);
height: var(--header-height);
width: 100vw;
width: 100%;
z-index: 99999;
padding-right: var(--ui-interval-small);
padding-left: var(--ui-interval-small);
Expand All @@ -351,7 +351,7 @@ h2.ui-icon-text > .material-symbols-rounded {

#header-dummy {
height: var(--header-height);
width: 100vw;
width: 100%;
z-index: -100;
}

Expand Down

0 comments on commit 572bd4b

Please sign in to comment.