Skip to content

Commit

Permalink
latex theme: adjust line height
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgio committed Sep 2, 2024
1 parent 651f480 commit 30d21ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/src/main/resources/render/theme/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,12 @@ h1, h2, h3, h4, h5, h6 {
text-transform: none !important;
}

.reveal p {
p, .reveal p {
line-height: var(--qd-line-height);
}

/* Line height is set only after the first line */
.reveal p::first-line {
:is(p, .reveal p)::first-line {
line-height: 1 !important;
}

Expand Down
2 changes: 1 addition & 1 deletion core/src/main/resources/render/theme/layout/latex.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
--qd-code-span-font-size: 0.93em;
--qd-slides-code-block-font-size: 1.35em;
--qd-block-margin: 1.8em;
--qd-line-height: 1.8;
--qd-line-height: 1.5;
--qd-slides-horizontal-alignment: start;

--page-margin-bottom-center-content: counter(page);
Expand Down

0 comments on commit 30d21ae

Please sign in to comment.