aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2017-10-28 03:46:43 +0200
committerOliver Schramm <oliver.schramm97@gmail.com>2017-10-28 03:46:43 +0200
commitdcf33148a70dc4812f08e84b9d5ed3105272ff10 (patch)
tree1a5ab51b228963707a7127f1e055afc65a7b430a
parent3b5c624c03351b4e4acbfc1d1818576e04faea69 (diff)
downloadforums-dcf33148a70dc4812f08e84b9d5ed3105272ff10.tar
forums-dcf33148a70dc4812f08e84b9d5ed3105272ff10.tar.gz
forums-dcf33148a70dc4812f08e84b9d5ed3105272ff10.tar.bz2
forums-dcf33148a70dc4812f08e84b9d5ed3105272ff10.tar.xz
forums-dcf33148a70dc4812f08e84b9d5ed3105272ff10.zip
[ticket/15195] Fix code block in rtl print version
PHPBB3-15195
-rw-r--r--phpBB/styles/prosilver/template/viewtopic_print.html3
-rw-r--r--phpBB/styles/prosilver/theme/print.css2
2 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/viewtopic_print.html b/phpBB/styles/prosilver/template/viewtopic_print.html
index 3c1ed4c3f1..b504949053 100644
--- a/phpBB/styles/prosilver/template/viewtopic_print.html
+++ b/phpBB/styles/prosilver/template/viewtopic_print.html
@@ -8,9 +8,10 @@
<title>{SITENAME} &bull; {PAGE_TITLE}</title>
<link href="{T_THEME_PATH}/print.css" rel="stylesheet">
+<link href="{T_THEME_PATH}/bidi.css" rel="stylesheet">
<!-- EVENT viewtopic_print_head_append -->
</head>
-<body id="phpbb">
+<body id="phpbb" class="{S_CONTENT_DIRECTION}">
<div id="wrap" class="wrap">
<a id="top" class="top-anchor" accesskey="t"></a>
diff --git a/phpBB/styles/prosilver/theme/print.css b/phpBB/styles/prosilver/theme/print.css
index a83270b742..9445279773 100644
--- a/phpBB/styles/prosilver/theme/print.css
+++ b/phpBB/styles/prosilver/theme/print.css
@@ -133,6 +133,8 @@ ol, ul {
/* Misc page elements */
div.spacer { clear: both; }
+code { display: block; }
+
/* Accessibility tweaks: Mozilla.org */
.skip_link { display: none; }