css: handle inline image height (#1379)

This commit is contained in:
Huang Xin
2025-06-10 14:43:00 +08:00
committed by GitHub
parent bb8bf99b40
commit e46d01448b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
}