From 17d0f7be5e20c6bcd92be34b8968efdb2f9b59fe Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 22 Feb 2016 09:26:53 +0100 Subject: [PATCH] CSS: Avoid !important for gutter in .controls fixes #11143 --- public/css/icinga/layout.less | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/public/css/icinga/layout.less b/public/css/icinga/layout.less index 7fc084892..9b155b9c1 100644 --- a/public/css/icinga/layout.less +++ b/public/css/icinga/layout.less @@ -97,20 +97,15 @@ & > .controls { z-index: 3; - > * { - margin-left: @gutter !important; - margin-right: @gutter !important; - } + padding-left: @gutter; + padding-right: @gutter; - > ul { - margin-left: 0 !important; - margin-right: 0 !important; + > .tabs { + // Remove gutter for tabs + margin-left: -1 * @gutter; + margin-right: -1 * @gutter; } } - - // 1em gutter of containers is maintained by padding of content and margin of every element in controls. We're not - // setting padding to .container because else horizontally scrolled .content may overflow .controls when scrolled - // vertically } }