Fix excessive padding on inline images (#7605)
This commit is contained in:
parent
5430fa15a4
commit
c7449caacc
2 changed files with 10 additions and 5 deletions
|
@ -471,9 +471,6 @@ $left-gutter: 64px;
|
|||
|
||||
// selector wrongly applies to pill avatars but those have explicit width/height passed at a higher specificity
|
||||
&.markdown-body img {
|
||||
// the image will have max-width and max-height applied during sanitization
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
object-position: left top;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue