FIX: Onebox image alignment (#11319)

It was overlapping with elements after it and was unnecessarily indented relative to the text before it.
This commit is contained in:
Jarek Radosz 2020-11-23 00:49:02 +01:00 committed by GitHub
parent a9eb1163e1
commit 790b9856af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -188,6 +188,7 @@ aside.onebox {
// full size images for instagram, twitter, etc.
.aspect-image-full-size {
margin: 0.5em 0;
max-height: 100%;
width: calc(500px * var(--aspect-ratio));
max-width: 100%;
@ -198,7 +199,6 @@ aside.onebox {
max-width: initial;
max-height: initial;
float: none;
padding: 5px 5px 5px 5px;
}
}