forked from akai/readest
fix(css): auto height of inline images with object-fit style (#2189)
This commit is contained in:
@@ -327,6 +327,11 @@ const getLayoutStyles = (
|
||||
height: 1em;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
img.has-text-siblings[style*="object-fit"] {
|
||||
display: block;
|
||||
height: auto;
|
||||
vertical-align: unset;
|
||||
}
|
||||
.ie6 img {
|
||||
width: auto;
|
||||
height: auto;
|
||||
|
||||
Reference in New Issue
Block a user