[web-php] master: Enable horizontal scroll bar for code blocks (#770)
| From: | Kamil Tekiela via GitHub | Date: | Fri, 23 Jun 2023 14:42:25 +0000 |
| Subject: | [web-php] master: Enable horizontal scroll bar for code blocks (#770) | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-30898@lists.php.net to get a copy of this message | ||
Author: Kamil Tekiela (kamil-tekiela)
Committer: GitHub (web-flow)
Pusher: sgolemon
Date: 2023-06-23T09:29:06-05:00
Commit: https://github.com/php/web-php/commit/9e32ca8e9abc4a402b5b3e31b2d5710457a55e0f
Raw diff: https://github.com/php/web-php/commit/9e32ca8e9abc4a402b5b3e31b2d5710457a55e0f.diff
Enable horizontal scroll bar for code blocks (#770)
Changed paths:
M styles/theme-base.css
Diff:
diff --git a/styles/theme-base.css b/styles/theme-base.css
index 458b2d4125..a894d7df7b 100644
--- a/styles/theme-base.css
+++ b/styles/theme-base.css
@@ -303,7 +303,7 @@ pre.info,
.docs .classsynopsis,
.docs .classsynopsis code {
font: normal 0.875rem/1.5rem "Fira Mono", "Source Code Pro", monospace;
- word-wrap: break-word;
+ overflow-x: auto;
}
p code,
li code,