Skip to content

Commit

Permalink
[ticket/11552] Fix overflow for large images
Browse files Browse the repository at this point in the history
PHPBB3-11552
  • Loading branch information
cyberalien committed Oct 18, 2013
1 parent ea874c2 commit bb0baa4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion phpBB/styles/prosilver/theme/content.css
Expand Up @@ -258,6 +258,7 @@ div[class].topic-actions {

.postbody .content {
font-size: 1.3em;
overflow-x: auto;
}

.search .postbody {
Expand Down Expand Up @@ -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 {
Expand All @@ -525,6 +529,7 @@ blockquote .codebox {
padding-top: 4px;
clear: left;
border-top: 1px solid transparent;
overflow-x: auto;
}

.attachbox dd dd {
Expand All @@ -546,7 +551,7 @@ blockquote .codebox {

.attach-image {
margin: 3px 0;
width: 100%;
max-width: 100%;
max-height: 350px;
overflow: auto;
}
Expand Down

0 comments on commit bb0baa4

Please sign in to comment.