Skip to content

Commit

Permalink
feat(example-site): reduce preformatted text line height
Browse files Browse the repository at this point in the history
  • Loading branch information
andis-sprinkis committed Jul 9, 2024
1 parent ad7d67b commit aaa9e5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions site/documents/index/static/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
--rem-size: clamp(1.2rem, 2.2vw, 1.95rem);
--line-height: 1.75;
--line-height-em: calc(var(--line-height) * 1em);
--line-height-pre: 1.5;
--line-height-nav-inline: calc(var(--line-height) * 1.175);
--grid-gap: var(--line-height-em);
--ol-ul-grid-gap: calc(0.4 * var(--grid-gap));
Expand Down Expand Up @@ -442,6 +443,7 @@ ul.inline-list-spread li::before {
pre,
code {
font-size: var(--text-size-pre);
line-height: var(--line-height-pre);
}

pre {
Expand Down

0 comments on commit aaa9e5b

Please sign in to comment.