Преглед изворни кода

Wrap long words in headings to prevent overlapping content

Fix #481
George Cushen пре 7 година
родитељ
комит
793d91e5c6
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      layouts/partials/css/academic.css

+ 1 - 0
layouts/partials/css/academic.css

@@ -89,6 +89,7 @@ h1, h2, h3, h4, h5, h6 {
   line-height: 1.25;
   color: #313131;
   text-rendering: optimizeLegibility;
+  overflow-wrap: break-word; /* Ensures very long heading words do not overflow into content. */
 }
 h1 {
   font-size: 2.25rem;