diff options
author | Vjacheslav Trushkin <cyberalien@gmail.com> | 2013-10-19 02:16:59 +0300 |
---|---|---|
committer | Vjacheslav Trushkin <cyberalien@gmail.com> | 2013-10-19 02:16:59 +0300 |
commit | bb0baa4522312a2dc72edebe4c0f198ac78c1061 (patch) | |
tree | 69ba2e7f2141ccf1e626cdda6e01d32ed8578d85 /phpBB | |
parent | ea874c2ffbcd58720dc58e3f69e6c0b668bc95b9 (diff) | |
download | forums-bb0baa4522312a2dc72edebe4c0f198ac78c1061.tar forums-bb0baa4522312a2dc72edebe4c0f198ac78c1061.tar.gz forums-bb0baa4522312a2dc72edebe4c0f198ac78c1061.tar.bz2 forums-bb0baa4522312a2dc72edebe4c0f198ac78c1061.tar.xz forums-bb0baa4522312a2dc72edebe4c0f198ac78c1061.zip |
[ticket/11552] Fix overflow for large images
PHPBB3-11552
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/styles/prosilver/theme/content.css | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/theme/content.css b/phpBB/styles/prosilver/theme/content.css index 60475aea7d..6950258ae2 100644 --- a/phpBB/styles/prosilver/theme/content.css +++ b/phpBB/styles/prosilver/theme/content.css @@ -258,6 +258,7 @@ div[class].topic-actions { .postbody .content { font-size: 1.3em; + overflow-x: auto; } .search .postbody { @@ -509,10 +510,13 @@ blockquote .codebox { .attachbox { float: left; width: auto; + max-width: 100%; margin: 5px 5px 5px 0; padding: 6px; border: 1px dashed transparent; clear: left; + -moz-box-sizing: border-box; + box-sizing: border-box; } .attachbox dt { @@ -525,6 +529,7 @@ blockquote .codebox { padding-top: 4px; clear: left; border-top: 1px solid transparent; + overflow-x: auto; } .attachbox dd dd { @@ -546,7 +551,7 @@ blockquote .codebox { .attach-image { margin: 3px 0; - width: 100%; + max-width: 100%; max-height: 350px; overflow: auto; } |