Skip to content

Commit

Permalink
Add scss variable for reveal code block height
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonstyle committed Nov 30, 2023
1 parent 0dff5b3 commit a381c4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/resources/formats/revealjs/quarto.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ $reveal-title-slide-text-align: $presentation-title-slide-text-align !default;
$code-block-bg: $body-bg !default;
$code-block-border-color: lighten($body-color, 60%) !default;
$code-block-font-size: 0.55em !default;
$code-block-max-height: 500px !default;

// inline code
$code-color: var(--quarto-hl-fu-color) !default;
Expand Down Expand Up @@ -250,7 +251,7 @@ div.reveal div.slides section.quarto-title-block {
}
background-color: $code-block-bg;
padding: 6px 9px;
max-height: 500px;
max-height: $code-block-max-height;
white-space: pre;
}

Expand Down

0 comments on commit a381c4d

Please sign in to comment.