diff --git a/apps/readest-app/src/utils/style.ts b/apps/readest-app/src/utils/style.ts index 88807255..ad6088ab 100644 --- a/apps/readest-app/src/utils/style.ts +++ b/apps/readest-app/src/utils/style.ts @@ -269,7 +269,7 @@ const getLayoutStyles = ( p img, span img, sup img { height: 1em; } - p:has(> img:only-child) img, span:has(> img:only-child) img { + p:has(> a:only-child) img, p:has(> img:only-child) img, span:has(> img:only-child) img { height: auto; }