]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
RRD graphs: Remove padding around graph images
authorLeo-Andres Hofmann <hofmann@leo-andres.de>
Sun, 11 Jul 2021 18:22:12 +0000 (20:22 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 2 Sep 2021 09:01:46 +0000 (09:01 +0000)
The images inherited padding from the general design and
have been resized to fit the layout, resulting in blurred graphs.
This removes the padding and shows the graphs in full size.

Fixes: #12657
Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
html/html/themes/ipfire/include/css/style.css

index 2c727a7707f09fc312e1bbe838daab4bf5ced6a6..b92f476c4f15bd711fdc901370a58c22908ab1f1 100644 (file)
@@ -359,7 +359,7 @@ div.rrdimage > ul {
 }
 
 div.rrdimage > img {
-       box-sizing: border-box;
+       padding: 0;
        max-width: 100%;
        min-height: 290px;
 }