From b8e0cb847e60087dc7cb831d778bcc05099cd36a Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Wed, 4 Jun 2025 19:19:21 +0300 Subject: [PATCH] standalone images: Don't set auto margin by default It break zoomed-in images. --- content/standalone_image_page_mods.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/content/standalone_image_page_mods.css b/content/standalone_image_page_mods.css index c482fe9..e6a1434 100644 --- a/content/standalone_image_page_mods.css +++ b/content/standalone_image_page_mods.css @@ -5,13 +5,15 @@ See the above repository for updates as well as full license text. */ @media not print { :root{ background-color: #232325 !important; /* set solid color background */ - background-image: none !important; /* remove default background */ + background-image: none !important; /* remove default background texture */ } - /* Position of the image, auto = center (default), 0 = top-left */ + /* Uncomment the following to position image to top-left */ + /* img{ - margin: auto !important; + margin: 0 !important; } + */ /* Checkerboard pattern for transparent images, slight blue hue */ img.transparent{