From 452e6525a0cf7aae27b25e4178cbd5c6f045dab0 Mon Sep 17 00:00:00 2001
From: "michael.danielczok" <michael@pcsg.de>
Date: Mon, 5 Jun 2023 15:09:10 +0200
Subject: [PATCH] refactor: css comment added

---
 bin/css/style.css | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/bin/css/style.css b/bin/css/style.css
index 27c8146..5cc0136 100644
--- a/bin/css/style.css
+++ b/bin/css/style.css
@@ -151,11 +151,16 @@ small, .font_small, .font-small {
     font-size: 0.75em;
 }
 
+/*
+ 1. Quiqqer sets the width and height HTML attributes on each <img> element (smarty function.image.php).
+    Therefore, we need to set the width and height properties to 'auto'
+    to avoid images being displayed at a reduced size.
+*/
 img {
     max-height: 100%;
     max-width: 100%;
-    height: auto;
-    width: auto;
+    height: auto; /* 1 */
+    width: auto; /* 1 */
 }
 
 .html5tooltip-box {
-- 
GitLab