Skip to content

Commit 37f203b

Browse files
authored
fix: we shouldn't use px on html tag at all (#450)
* fix: we shouldn't use px at all * Update _init.global.scss
1 parent 5ca9b93 commit 37f203b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/_patterns/00-base/_init.global.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ body {
77

88
body {
99
min-height: 100vh;
10+
font-size: 1rem;
1011
}
1112

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

0 commit comments

Comments
 (0)