Skip to content

Commit

Permalink
Fix font size inconsistencies
Browse files Browse the repository at this point in the history
Should not be setting html font size like this
  • Loading branch information
itsamoreh committed Aug 8, 2023
1 parent faaae23 commit 0327cd3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion assets/css/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

html {
scroll-behavior: smooth;
font-size: clamp(1rem, 1rem + ((1vw - 0.48rem) * 0.64), 1.333rem);
}

a,
Expand Down
3 changes: 1 addition & 2 deletions theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
"fontSizes": [
{
"name": "Body",
"size": "1rem",
"size": "1.25rem",
"slug": "body"
},
{
Expand Down Expand Up @@ -218,7 +218,6 @@
{
"name": "H1",
"size": "3.052rem",
"fluid": false,
"slug": "h1"
}
]
Expand Down

0 comments on commit 0327cd3

Please sign in to comment.