Merge pull request #3191 from chivongv/fix-pdf-long-r-fit-text

fix: truncated long r-fit-text on pdf
This commit is contained in:
Hakim El Hattab 2022-05-31 10:41:24 +02:00 committed by GitHub
commit a3f4caf179
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 2 deletions

View File

@ -141,6 +141,11 @@
transform: none !important; transform: none !important;
} }
.reveal .r-fit-text {
white-space: normal !important;
}
.reveal section img { .reveal section img {
display: block; display: block;
margin: 15px 0px; margin: 15px 0px;

View File

@ -96,11 +96,14 @@ html.print-pdf {
min-height: auto !important; min-height: auto !important;
} }
.reveal .r-fit-text {
white-space: normal !important;
}
.reveal img { .reveal img {
box-shadow: none; box-shadow: none;
} }
/* Slide backgrounds are placed inside of their slide when exporting to PDF */ /* Slide backgrounds are placed inside of their slide when exporting to PDF */
.reveal .backgrounds { .reveal .backgrounds {
display: none; display: none;

2
dist/reveal.css vendored

File diff suppressed because one or more lines are too long