diff --git a/core/src/main/resources/render/theme/global.css b/core/src/main/resources/render/theme/global.css index 1c2a7911..c5f4a3a9 100644 --- a/core/src/main/resources/render/theme/global.css +++ b/core/src/main/resources/render/theme/global.css @@ -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; } diff --git a/core/src/main/resources/render/theme/layout/latex.css b/core/src/main/resources/render/theme/layout/latex.css index 83ea53d9..8d0c20a3 100644 --- a/core/src/main/resources/render/theme/layout/latex.css +++ b/core/src/main/resources/render/theme/layout/latex.css @@ -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);