aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/theme
diff options
context:
space:
mode:
authorLouis7777 <louis7777@github.com>2017-05-03 02:58:05 +0300
committerLouis7777 <louis7777@github.com>2017-05-03 02:58:05 +0300
commitfd423d5a7a665e465f8b9e4a3f3d3ecdaf99dd3b (patch)
treea2191497f172948437fff93ad135678da7db531c /phpBB/styles/prosilver/theme
parent24f9a4165463d9a546c9868cb352c0283d976c27 (diff)
downloadforums-fd423d5a7a665e465f8b9e4a3f3d3ecdaf99dd3b.tar
forums-fd423d5a7a665e465f8b9e4a3f3d3ecdaf99dd3b.tar.gz
forums-fd423d5a7a665e465f8b9e4a3f3d3ecdaf99dd3b.tar.bz2
forums-fd423d5a7a665e465f8b9e4a3f3d3ecdaf99dd3b.tar.xz
forums-fd423d5a7a665e465f8b9e4a3f3d3ecdaf99dd3b.zip
[ticket/15212] Fix code box double horizontal scrollbars
The code box has two overflow properties set, one on the code element and one on the parent div container, causing double horizontal scrollbars. PHPBB3-15212
Diffstat (limited to 'phpBB/styles/prosilver/theme')
-rw-r--r--phpBB/styles/prosilver/theme/content.css8
1 files changed, 3 insertions, 5 deletions
diff --git a/phpBB/styles/prosilver/theme/content.css b/phpBB/styles/prosilver/theme/content.css
index 95168d1d97..c6914e8541 100644
--- a/phpBB/styles/prosilver/theme/content.css
+++ b/phpBB/styles/prosilver/theme/content.css
@@ -491,18 +491,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 3px 0 3px;
font-size: 0.8em !important;
font-weight: bold;
display: block;
@@ -517,10 +516,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