Explorar o código

Wrap long words in headings to prevent overlapping content

Fix #481
George Cushen %!s(int64=7) %!d(string=hai) anos
pai
achega
793d91e5c6
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;