From ba9e977e920f59d7f57f185b4df3ce2f8ee5ba26 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 29 Jun 2023 10:51:04 +0200 Subject: [PATCH] CSS: Reduce `.images` rules SVG-related rules have been removed since we render images and not SVGs. `display: block` has been removed to allow the graphs to layout themselves. Without an explicit width setting via templates they consume 100% anyway, otherwise they could now fit on a single line. --- public/css/module.less | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/public/css/module.less b/public/css/module.less index 5b2f1ba..cf89fc4 100644 --- a/public/css/module.less +++ b/public/css/module.less @@ -1,20 +1,5 @@ -div.images { - h3 { - clear: both; - } - - img.svg { - float: left; - border: none; - } - -} - -div.images.object-detail-view { - img.graphiteImg { +.images.object-detail-view > img { width: 100%; - display: block; - } } .timerangepicker-container {