From 3e3a3d164f1aa0303cae4cf924c9abfe8d30a028 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Wed, 29 Sep 2021 00:20:44 +0200 Subject: [PATCH] theme: avoid scrollbar for long headings #92 --- static/css/theme.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/static/css/theme.css b/static/css/theme.css index 95339368de..ce0b388a2a 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -688,6 +688,17 @@ hr { #body-inner pre { white-space: pre-wrap; } +#body-inner h1, +#body-inner h2, +#body-inner h3, +#body-inner h4, +#body-inner h5, +#body-inner h6 { + /* big titles cause a horizontal scrollbar - fixing this by wrapping text */ + overflow-x: hidden; + overflow-wrap: break-word; +} + table { border: 1px solid #ccc; margin-bottom: 1rem;