« get me outta code hell

css: 'vertical-align: text-bottom' for inline images - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-07-13 15:50:52 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-07-13 15:51:10 -0300
commitc81b953122b437574afb4703817b347654b051b8 (patch)
tree16ed4ada10511ed3d706a081e3eca293985ae6b5 /src
parentf93b5fbaacd3d3f340589b726b142fb1ed97bd87 (diff)
css: 'vertical-align: text-bottom' for inline images
Diffstat (limited to 'src')
-rw-r--r--src/static/css/site.css3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/static/css/site.css b/src/static/css/site.css
index 6b753862..e647dd83 100644
--- a/src/static/css/site.css
+++ b/src/static/css/site.css
@@ -2860,10 +2860,11 @@ img {
   object-fit: cover;
 }
 
-p > img {
+p > img, li > img {
   max-width: 100%;
   object-fit: contain;
   height: auto;
+  vertical-align: text-bottom;
 }
 
 .image-inner-area::after {