]> BookStack Code Mirror - bookstack/blobdiff - resources/assets/sass/_text.scss
Fixed large content previews and improved mobile styles
[bookstack] / resources / assets / sass / _text.scss
index 12bcd621f81481bca067993e41bb86b564a9ebee..3504154c2e70bddd6eecf2aff051bf7a84ef2006 100644 (file)
@@ -61,6 +61,24 @@ h5, h6 {
   margin-bottom: 0.66em;
 }
 
+@include smaller-than($s) {
+  h1 {
+    font-size: 2.8275em;
+  }
+  h2 {
+    font-size: 2.333em;
+  }
+  h3 {
+    font-size: 1.666em;
+  }
+  h4 {
+    font-size: 1.333em;
+  }
+  h5 {
+    font-size: 1.161616em;
+  }
+}
+
 /*
  * Link styling
  */
@@ -374,8 +392,8 @@ li.checkbox-item, li.task-list-item {
 }
 
 .break-text {
-  white-space: pre-wrap;
   word-wrap: break-word;
+  overflow-wrap: break-word;
 }
 
 /**