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:
parent
a9eb1163e1
commit
790b9856af
|
@ -188,6 +188,7 @@ aside.onebox {
|
||||||
|
|
||||||
// full size images for instagram, twitter, etc.
|
// full size images for instagram, twitter, etc.
|
||||||
.aspect-image-full-size {
|
.aspect-image-full-size {
|
||||||
|
margin: 0.5em 0;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
width: calc(500px * var(--aspect-ratio));
|
width: calc(500px * var(--aspect-ratio));
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
@ -198,7 +199,6 @@ aside.onebox {
|
||||||
max-width: initial;
|
max-width: initial;
|
||||||
max-height: initial;
|
max-height: initial;
|
||||||
float: none;
|
float: none;
|
||||||
padding: 5px 5px 5px 5px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue