Skip to content

Commit

Permalink
fix: we shouldn't use px on html tag at all (#450)
Browse files Browse the repository at this point in the history
* fix: we shouldn't use px at all

* Update _init.global.scss
  • Loading branch information
mfranzke authored May 15, 2023
1 parent 5ca9b93 commit 37f203b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/_patterns/00-base/_init.global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ body {

body {
min-height: 100vh;
font-size: 1rem;
}

// adapted from https://github.com/jgthms/bulma/blob/0.7.5/sass/base/generic.sass
html {
background-color: #fdfdfd; // TODO: This would need to get replaced by the correct (semantic) color
font-size: 16px;
// font-size: 16px; // We need to deactivate this due to accessibility problems, as even also reported with https://github.com/jgthms/bulma/issues/3588
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
min-width: 300px;
Expand Down

0 comments on commit 37f203b

Please sign in to comment.