Skip to content

Commit

Permalink
fix: allow line height to be adjustable
Browse files Browse the repository at this point in the history
  • Loading branch information
jobara committed Jan 28, 2025
1 parent d28f03f commit 1578bda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/assets/styles/base/_base.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ body {
color: var(--fl-fgColor, var(--color-black));
font-family: var(--family-sans-serif);
font-size: var(--step-0);
line-height: var(--fl-lineSpace);
}

.wrapper {
Expand Down
4 changes: 2 additions & 2 deletions src/assets/styles/base/_reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ h3,
button,
input,
label {
line-height: 1.4;
line-height: calc(1.4 * var(--fl-lineSpace-factor, 1));
}

h1,
Expand All @@ -64,4 +64,4 @@ picture {
input {
font-family: inherit;
font-size: inherit;
}
}

0 comments on commit 1578bda

Please sign in to comment.