From ebb9f0461812be697e69aab4c3064b738b6b0391 Mon Sep 17 00:00:00 2001 From: HinataKato Date: Tue, 15 Nov 2022 02:55:44 +0000 Subject: Make IMG responsive --- htdocs/css/smokeping-screen.css | 5 +++++ lib/Smokeping/Graphs.pm | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/htdocs/css/smokeping-screen.css b/htdocs/css/smokeping-screen.css index a66f8a4..28d4470 100644 --- a/htdocs/css/smokeping-screen.css +++ b/htdocs/css/smokeping-screen.css @@ -268,3 +268,8 @@ a#menu-button:hover { left: 250px !important; } } + +.img-responsive { + max-width: 100%; + height: auto; +} diff --git a/lib/Smokeping/Graphs.pm b/lib/Smokeping/Graphs.pm index 3c53543..0743e57 100644 --- a/lib/Smokeping/Graphs.pm +++ b/lib/Smokeping/Graphs.pm @@ -352,7 +352,7 @@ sub get_multi_detail ($$$$;$){ if $cfg->{Presentation}{htmltitle} eq 'yes'; $page .= "
"; $page .= ( qq{' - . qq{}."" ); #" + . qq{}."" ); #" $page .= "
\n"; } else { # chart mode $page .= "
"; @@ -360,7 +360,7 @@ sub get_multi_detail ($$$$;$){ if $cfg->{Presentation}{htmltitle} eq 'yes'; $page .= "
"; $page .= ( qq{} - . qq{}."" ); #" + . qq{}."" ); #" $page .= "
\n"; } -- cgit v1.2.3 From 0bb0617352502d663494c93796737195607ffc24 Mon Sep 17 00:00:00 2001 From: HinataKato Date: Tue, 15 Nov 2022 03:26:33 +0000 Subject: Update CHANGES --- CHANGES | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES b/CHANGES index 7e0fd88..782ff27 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,4 @@ + - make image responsive @HinataKato - add fix for #209 - auto create 'dyndir' structure when saving slave updates @simfishing - add favicon (bas64) to basepage.html @rezzorix - add "Home"-Link to basepage.html @rezzorix -- cgit v1.2.3