diff options
| -rw-r--r-- | p/themes/base-theme/template.css | 6 | ||||
| -rw-r--r-- | p/themes/base-theme/template.rtl.css | 6 |
2 files changed, 8 insertions, 4 deletions
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 */ diff --git a/p/themes/base-theme/template.rtl.css b/p/themes/base-theme/template.rtl.css index db4c73294..05eafc03d 100644 --- a/p/themes/base-theme/template.rtl.css +++ b/p/themes/base-theme/template.rtl.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 */ |
