From 53fe79fbbd23b05d85b175e9eedd3ad648097777 Mon Sep 17 00:00:00 2001 From: Stephan Richter Date: Tue, 20 Jan 2026 22:44:30 +0100 Subject: [PATCH] fixed image heights when scaling width Signed-off-by: Stephan Richter --- web/src/main/resources/web/css/bloodshed.css | 3 ++- web/src/main/resources/web/css/default.css | 3 ++- web/src/main/resources/web/css/winter.css | 15 ++++++++------- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/web/src/main/resources/web/css/bloodshed.css b/web/src/main/resources/web/css/bloodshed.css index 497737b0..76238700 100644 --- a/web/src/main/resources/web/css/bloodshed.css +++ b/web/src/main/resources/web/css/bloodshed.css @@ -57,8 +57,9 @@ footer { margin: 5px; } -img { +img, svg { max-width: 100%; + height: auto !important; } nav { diff --git a/web/src/main/resources/web/css/default.css b/web/src/main/resources/web/css/default.css index 70939c19..54205984 100644 --- a/web/src/main/resources/web/css/default.css +++ b/web/src/main/resources/web/css/default.css @@ -57,8 +57,9 @@ footer { margin: 5px; } -img { +img, svg { max-width: 100%; + height: auto !important; } nav { diff --git a/web/src/main/resources/web/css/winter.css b/web/src/main/resources/web/css/winter.css index 6847d7e3..3c239254 100644 --- a/web/src/main/resources/web/css/winter.css +++ b/web/src/main/resources/web/css/winter.css @@ -57,17 +57,18 @@ footer { margin: 5px; } -img { +img, svg { max-width: 100%; + height: auto !important; } nav { - position: sticky; - z-index: 100; - top: 0; - padding: 5px; - margin: 0 0 10px 0; - border-bottom: 1px solid; + position: sticky; + z-index: 100; + top: 0; + padding: 5px; + margin: 0 0 10px 0; + border-bottom: 1px solid; } td, tr{