From d8e1372d372890ae340b00670f2663c4fbe0cc2e Mon Sep 17 00:00:00 2001
From: Julian Leucker <leuckerj@gmail.com>
Date: Mon, 10 Jan 2022 20:36:41 +0100
Subject: [PATCH] Break too long headlines

---
 CHANGELOG.rst                         | 1 +
 aleksis/core/static/public/style.scss | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 3f8ab898b..133d80d32 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -34,6 +34,7 @@ Fixed
 * The data check results list view didn't work if a related object had been deleted in the meanwhile.
 * Socialaccount login template was not overriden
 * Atomic transactions now cause only one Haystack update task to run
+* Too long headlines didn't break in another line.
 
 Changed
 ~~~~~~~
diff --git a/aleksis/core/static/public/style.scss b/aleksis/core/static/public/style.scss
index cb5913872..00f88f58b 100644
--- a/aleksis/core/static/public/style.scss
+++ b/aleksis/core/static/public/style.scss
@@ -297,6 +297,11 @@ h2 {
   font-size: 3.0rem;
 }
 
+p, h1, h2, h3, h4, h5, h6 {
+  overflow-wrap: break-word;
+  hyphens: auto;
+}
+
 /* Collections */
 
 ul.collection .collection-item .title {
-- 
GitLab