forked from akai/readest
css: handle inline image height (#1379)
This commit is contained in:
@@ -270,7 +270,7 @@ const getLayoutStyles = (
|
||||
p > img, span > img, sup img {
|
||||
height: 1em;
|
||||
}
|
||||
p:has(> a:only-child) img, p:has(> img:only-child) img, span:has(> img:only-child) img {
|
||||
p:has(> img:only-child) img, span:has(> img:only-child) img {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
Submodule packages/foliate-js updated: b9c7693d60...8d86688f69
Reference in New Issue
Block a user