aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-09-19 16:40:24 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-09-19 16:40:24 +0000
commit20b08e296186e8ae812a0928d387bb01468af846 (patch)
tree75e59325a8342a79a559aef3144f734a3cd86bfd /phpBB/styles
parente12fce5f3d74d97b93b5a5931e59f9ddc2355a77 (diff)
downloadforums-20b08e296186e8ae812a0928d387bb01468af846.tar
forums-20b08e296186e8ae812a0928d387bb01468af846.tar.gz
forums-20b08e296186e8ae812a0928d387bb01468af846.tar.bz2
forums-20b08e296186e8ae812a0928d387bb01468af846.tar.xz
forums-20b08e296186e8ae812a0928d387bb01468af846.zip
support tabs in code selections (Bug #25445). Still does not solve the strange "4 spaces prefixed on every line" problem in firefox. :/
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8893 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/styles')
-rw-r--r--phpBB/styles/prosilver/template/bbcode.html4
-rw-r--r--phpBB/styles/prosilver/theme/content.css3
-rw-r--r--phpBB/styles/subsilver2/template/bbcode.html4
3 files changed, 5 insertions, 6 deletions
diff --git a/phpBB/styles/prosilver/template/bbcode.html b/phpBB/styles/prosilver/template/bbcode.html
index bb90c46ced..9c6a640ef4 100644
--- a/phpBB/styles/prosilver/template/bbcode.html
+++ b/phpBB/styles/prosilver/template/bbcode.html
@@ -12,8 +12,8 @@
<!-- BEGIN quote_open --><blockquote class="uncited"><div><!-- END quote_open -->
<!-- BEGIN quote_close --></div></blockquote><!-- END quote_close -->
-<!-- BEGIN code_open --><dl class="codebox"><dt>{L_CODE}: <a href="#" onclick="selectCode(this); return false;">{L_SELECT_ALL_CODE}</a></dt><dd><code><!-- END code_open -->
-<!-- BEGIN code_close --></code></dd></dl><!-- END code_close -->
+<!-- BEGIN code_open --><dl class="codebox"><dt>{L_CODE}: <a href="#" onclick="selectCode(this); return false;">{L_SELECT_ALL_CODE}</a></dt><dd><pre><code><!-- END code_open -->
+<!-- BEGIN code_close --></code></pre></dd></dl><!-- END code_close -->
<!-- BEGIN inline_attachment_open --><div class="inline-attachment"><!-- END inline_attachment_open -->
<!-- BEGIN inline_attachment_close --></div><!-- END inline_attachment_close -->
diff --git a/phpBB/styles/prosilver/theme/content.css b/phpBB/styles/prosilver/theme/content.css
index 936b53f78a..98c5d3fbb3 100644
--- a/phpBB/styles/prosilver/theme/content.css
+++ b/phpBB/styles/prosilver/theme/content.css
@@ -467,12 +467,11 @@ blockquote dl.codebox {
}
dl.codebox code {
- /* Also see tweaks.css */
overflow: auto;
display: block;
height: auto;
max-height: 200px;
- white-space: normal;
+ /* white-space: normal; */
padding-top: 5px;
font: 0.9em Monaco, "Andale Mono","Courier New", Courier, mono;
line-height: 1.3em;
diff --git a/phpBB/styles/subsilver2/template/bbcode.html b/phpBB/styles/subsilver2/template/bbcode.html
index 50162740d0..0e95fdbcf3 100644
--- a/phpBB/styles/subsilver2/template/bbcode.html
+++ b/phpBB/styles/subsilver2/template/bbcode.html
@@ -21,11 +21,11 @@
<!-- END quote_close -->
<!-- BEGIN code_open -->
-<div class="codetitle"><b>{L_CODE}:</b></div><div class="codecontent">
+<div class="codetitle"><b>{L_CODE}:</b></div><div class="codecontent"><pre>
<!-- END code_open -->
<!-- BEGIN code_close -->
-</div>
+</pre></div>
<!-- END code_close -->
<!-- BEGIN inline_attachment_open -->