visuddhinanda 5 лет назад
Родитель
Сommit
94ab1f59b7
2 измененных файлов с 19 добавлено и 0 удалено
  1. 18 0
      app/studio/css/print.css
  2. 1 0
      app/studio/editor.php

+ 18 - 0
app/studio/css/print.css

@@ -0,0 +1,18 @@
+.word_punc,
+.word {
+	page-break-inside: avoid;
+}
+
+.mean,
+.org,
+.om,
+.case {
+	page-break-after: avoid;
+}
+#toolbar {
+	display: none;
+}
+
+#left_tool_bar {
+	display: none;
+}

+ 1 - 0
app/studio/editor.php

@@ -26,6 +26,7 @@ else{$currDevice="computer";}
 	<link type="text/css" rel="stylesheet" href="css/style.css"/>
 	<link type="text/css" rel="stylesheet" href="css/color_day.css" id="colorchange" />
 	<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:800px)">
+	<link type="text/css" rel="stylesheet" href="css/print.css" media="print" />
 	<link href="https://fonts.googleapis.com/css2?family=Padauk:wght@400;700&display=swap" rel="stylesheet">
 	<link type="text/css" rel="stylesheet" href="../public/css/notify.css"/>
 	<?php