Skip to content

Commit

Permalink
Correct calculation of font size
Browse files Browse the repository at this point in the history
  • Loading branch information
manzt committed Sep 24, 2024
1 parent 381d2ab commit 4c3d2cd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ body::-webkit-scrollbar-track {
}

:root {
--user-font-scale: 1rem - 16px;
--user-font-scale: calc(1rem - 16px);
--max-width: calc(100% - 1rem);
}

Expand Down Expand Up @@ -339,9 +339,8 @@ h2.heading {

.header-link {
font-size: 1em;
transition:
border-inline-start-color 100ms ease-out,
background-color 200ms ease-out;
transition: border-inline-start-color 100ms ease-out, background-color 200ms
ease-out;
border-left: 4px solid var(--theme-divider);
}

Expand Down

0 comments on commit 4c3d2cd

Please sign in to comment.