diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2017-05-21 16:38:21 +0200 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2017-05-21 16:38:21 +0200 |
| commit | 37e30ad83e965f80a630f35f60c3ce1b97995598 (patch) | |
| tree | 22f7101117cb6210be35213927ec61c705e0e03d | |
| parent | 6a69c6a006f68268d66ad9a37c0e37712fc83bfc (diff) | |
| parent | 0c79cdcb31a66b89963008e88fd3b15f7e952489 (diff) | |
| download | forums-37e30ad83e965f80a630f35f60c3ce1b97995598.tar forums-37e30ad83e965f80a630f35f60c3ce1b97995598.tar.gz forums-37e30ad83e965f80a630f35f60c3ce1b97995598.tar.bz2 forums-37e30ad83e965f80a630f35f60c3ce1b97995598.tar.xz forums-37e30ad83e965f80a630f35f60c3ce1b97995598.zip | |
Merge pull request #4822 from Louis7777/ticket/15212
[ticket/15212] Fix code box double horizontal scrollbars
| -rw-r--r-- | phpBB/styles/prosilver/theme/content.css | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/phpBB/styles/prosilver/theme/content.css b/phpBB/styles/prosilver/theme/content.css index 7ff6b4d5ef..741056e4c4 100644 --- a/phpBB/styles/prosilver/theme/content.css +++ b/phpBB/styles/prosilver/theme/content.css @@ -489,18 +489,17 @@ blockquote cite > div { /* Code block */ .codebox { - padding: 3px; border: 1px solid transparent; font-size: 1em; margin: 1em 0 1.2em 0; - overflow-x: scroll; word-wrap: normal; } .codebox p { text-transform: uppercase; border-bottom: 1px solid transparent; - margin-bottom: 3px; + margin-bottom: 0; + padding: 3px; font-size: 0.8em !important; font-weight: bold; display: block; @@ -515,10 +514,9 @@ blockquote .codebox { display: block; height: auto; max-height: 200px; - padding-top: 5px; + padding: 5px 3px; font: 0.9em Monaco, "Andale Mono","Courier New", Courier, monospace; line-height: 1.3em; - margin: 2px 0; } /* Attachments |
