mirror of
https://github.com/discourse/discourse.git
synced 2025-05-26 12:05:25 +08:00
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:
@ -482,6 +482,10 @@ div.ac-wrap {
|
||||
.preview-wrapper {
|
||||
padding-left: 5px;
|
||||
float: right;
|
||||
img, svg {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
#wmd-button-bar {
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user