force max-width on images/svgs in composer preview and post view

Conflicts:
	app/assets/stylesheets/desktop/topic-post.scss
This commit is contained in:
Régis Hanol 2013-10-21 19:53:34 +02:00
parent fcd85b8a72
commit c9dd83cba4
2 changed files with 43 additions and 42 deletions

View File

@ -482,6 +482,10 @@ div.ac-wrap {
.preview-wrapper {
padding-left: 5px;
float: right;
img, svg {
max-width: 100%;
height: auto;
}
}
}
#wmd-button-bar {

View File

@ -425,16 +425,13 @@ span.post-count {
.chzn-container {vertical-align: middle;}
}
.topic-post article.boxed
{
padding-bottom: 5px;
img {
article.boxed {
padding-bottom: 5px;
img, svg {
max-width: 100%;
height: auto;
}
}
}
.quote-button {
display: none;