mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +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 {
|
.preview-wrapper {
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
float: right;
|
float: right;
|
||||||
|
img, svg {
|
||||||
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#wmd-button-bar {
|
#wmd-button-bar {
|
||||||
|
@ -425,17 +425,14 @@ span.post-count {
|
|||||||
.chzn-container {vertical-align: middle;}
|
.chzn-container {vertical-align: middle;}
|
||||||
}
|
}
|
||||||
|
|
||||||
.topic-post article.boxed
|
article.boxed {
|
||||||
|
|
||||||
{
|
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
img {
|
img, svg {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.quote-button {
|
.quote-button {
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
Reference in New Issue
Block a user