1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-09-03 05:12:37 +02:00

[ticket/8228] Fix still existing problems with code in firefox

A user of a board mentioned that there are still some problems
in firefox if php-highlighting is on. So I used a snippet which
they worked on for weeks. Link to the snippet (in german):
http://www.ongray-design.de/forum/viewtopic.php?t=541

PHPBB3-8228
This commit is contained in:
Oliver Schramm
2013-07-30 18:00:47 +02:00
parent 0dcf24acc1
commit 95c603d545
6 changed files with 13 additions and 14 deletions

View File

@@ -472,13 +472,13 @@ blockquote.uncited {
}
/* Code block */
dl.codebox {
.codebox {
padding: 3px;
border: 1px solid transparent;
font-size: 1em;
}
dl.codebox dt {
.codebox p {
text-transform: uppercase;
border-bottom: 1px solid transparent;
margin-bottom: 3px;
@@ -487,11 +487,11 @@ dl.codebox dt {
display: block;
}
blockquote dl.codebox {
blockquote .codebox {
margin-left: 0;
}
dl.codebox pre {
.codebox code {
/* Also see tweaks.css */
overflow: auto;
display: block;