From b563e4badb6bd9675a3227058f8921e50b675755 Mon Sep 17 00:00:00 2001 From: maTh Date: Thu, 2 Sep 2021 09:16:26 +0200 Subject: Improved line break (#3817) * fix CSS * improved --- p/themes/base-theme/template.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'p/themes/base-theme/template.css') diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.css index 9c2ace776..d98ac734f 100644 --- a/p/themes/base-theme/template.css +++ b/p/themes/base-theme/template.css @@ -74,12 +74,14 @@ sup { kbd { background-color: #eee; - padding: 2px 4px; + padding: 2px 4px 2px 24px; display: inline-block; color: #333; border: 1px solid #b4b4b4; border-radius: 3px; - white-space: nowrap; + text-indent: -20px; + white-space: pre-wrap; + overflow-wrap: anywhere; } /*=== Images */ -- cgit v1.2.3