浏览代码

fix: truncated long r-fit-text on pdf

Chi Vong 3 年之前
父节点
当前提交
f319b246db
共有 3 个文件被更改,包括 9 次插入1 次删除
  1. 5 0
      css/print/paper.scss
  2. 4 1
      css/print/pdf.scss
  3. 0 0
      dist/reveal.css

+ 5 - 0
css/print/paper.scss

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

+ 4 - 1
css/print/pdf.scss

@@ -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;

文件差异内容过多而无法显示
+ 0 - 0
dist/reveal.css


部分文件因为文件数量过多而无法显示