Fix print slides with mermaid

This commit is contained in:
yflory 2020-06-04 13:37:22 +02:00
parent 55c4345e9e
commit da400929a9
2 changed files with 9 additions and 2 deletions

View File

@ -21,7 +21,6 @@
} }
* { * {
visibility: hidden; visibility: hidden;
height: auto;
max-height: none; max-height: none;
} }
.cp-app-slide-viewer #cp-app-slide-print { .cp-app-slide-viewer #cp-app-slide-print {

View File

@ -164,6 +164,14 @@
#cp-app-slide-editor-container { #cp-app-slide-editor-container {
display: none; display: none;
} }
#cp-app-slide-print {
.cp-app-slide-frame {
pre.mermaid > svg {
height: 100%;
width: 100%;
}
}
}
} }
#cp-app-slide-print { #cp-app-slide-print {
position: relative; position: relative;
@ -336,8 +344,8 @@
* { * {
max-width: unset; max-width: unset;
max-height: unset; max-height: unset;
font-size: unset;
line-height: unset; line-height: unset;
font-size: 87.5%;
} }
} }
ul, ol { ul, ol {