Skip to content

Commit

Permalink
Merge pull request hakimel#3191 from chivongv/fix-pdf-long-r-fit-text
Browse files Browse the repository at this point in the history
fix: truncated long r-fit-text on pdf
  • Loading branch information
hakimel authored May 31, 2022
2 parents 0d5b69d + f319b24 commit a3f4caf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions css/print/paper.scss
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@

transform: none !important;
}

.reveal .r-fit-text {
white-space: normal !important;
}

.reveal section img {
display: block;
margin: 15px 0px;
Expand Down
5 changes: 4 additions & 1 deletion css/print/pdf.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,14 @@ html.print-pdf {
min-height: auto !important;
}

.reveal .r-fit-text {
white-space: normal !important;
}

.reveal img {
box-shadow: none;
}


/* Slide backgrounds are placed inside of their slide when exporting to PDF */
.reveal .backgrounds {
display: none;
Expand Down
2 changes: 1 addition & 1 deletion dist/reveal.css

Large diffs are not rendered by default.

0 comments on commit a3f4caf

Please sign in to comment.