diff options
author | Anika Henke <anika@selfthinker.org> | 2012-07-01 14:48:01 +0100 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2012-07-01 14:48:01 +0100 |
commit | fc8dc8221b129775d2778687772469c083a67fbe (patch) | |
tree | 50f2e09de4cdbb3909773e85799acb45ece80155 /inc/html.php | |
parent | 9f6d88deb91f2a191f2d1ef5c10ce42afead458f (diff) | |
download | rpg-fc8dc8221b129775d2778687772469c083a67fbe.tar.gz rpg-fc8dc8221b129775d2778687772469c083a67fbe.tar.bz2 |
improved preview to have same width as resulting page if it would have a sidebar
Diffstat (limited to 'inc/html.php')
-rw-r--r-- | inc/html.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/html.php b/inc/html.php index a20ee5c39..738b1f1b4 100644 --- a/inc/html.php +++ b/inc/html.php @@ -229,12 +229,12 @@ function html_show($txt=null){ //PreviewHeader echo '<br id="scroll__here" />'; echo p_locale_xhtml('preview'); - echo '<div class="preview">'; + echo '<div class="preview"><div class="pad">'; $html = html_secedit(p_render('xhtml',p_get_instructions($txt),$info),$secedit); if($INFO['prependTOC']) $html = tpl_toc(true).$html; echo $html; echo '<div class="clearer"></div>'; - echo '</div>'; + echo '</div></div>'; }else{ if ($REV) print p_locale_xhtml('showrev'); |