[ticket/11552] Fix overflow for large images

PHPBB3-11552
This commit is contained in:
Vjacheslav Trushkin 2013-10-19 02:16:59 +03:00
parent ea874c2ffb
commit bb0baa4522

View file

@ -258,6 +258,7 @@ div[class].topic-actions {
.postbody .content { .postbody .content {
font-size: 1.3em; font-size: 1.3em;
overflow-x: auto;
} }
.search .postbody { .search .postbody {
@ -509,10 +510,13 @@ blockquote .codebox {
.attachbox { .attachbox {
float: left; float: left;
width: auto; width: auto;
max-width: 100%;
margin: 5px 5px 5px 0; margin: 5px 5px 5px 0;
padding: 6px; padding: 6px;
border: 1px dashed transparent; border: 1px dashed transparent;
clear: left; clear: left;
-moz-box-sizing: border-box;
box-sizing: border-box;
} }
.attachbox dt { .attachbox dt {
@ -525,6 +529,7 @@ blockquote .codebox {
padding-top: 4px; padding-top: 4px;
clear: left; clear: left;
border-top: 1px solid transparent; border-top: 1px solid transparent;
overflow-x: auto;
} }
.attachbox dd dd { .attachbox dd dd {
@ -546,7 +551,7 @@ blockquote .codebox {
.attach-image { .attach-image {
margin: 3px 0; margin: 3px 0;
width: 100%; max-width: 100%;
max-height: 350px; max-height: 350px;
overflow: auto; overflow: auto;
} }