Skip to content

Commit

Permalink
[web] [css] Change block size of header and footer
Browse files Browse the repository at this point in the history
Now it uses `min-content` instead of a viewport percentage length unit
to avoid ugly content overflows.

* https://www.w3.org/TR/css-sizing-3/#valdef-width-min-content
* https://www.w3.org/TR/css-values-3/#viewport-relative-lengths
  • Loading branch information
dgdavid committed May 19, 2023
1 parent 5f4db44 commit 188e0cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/assets/styles/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@

--icon-size-m: 32px;

--header-block-size: 6vh;
--footer-block-size: 8vh;
--header-block-size: min-content;
--footer-block-size: min-content;
}

0 comments on commit 188e0cb

Please sign in to comment.