From 199f6e978b66b98c77a0cb6155de60c91d95275c Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 20 Jun 2014 15:47:27 +0200 Subject: [PATCH] CSS/controls: fix margin Problem was that as of CSS voodoo "padding" is not possible for our "controls" section. Some control components therefore got margins, but that's pretty ugly. This patch fixes this but pretends that all components sitting directly below "controls" provide a root node. --- public/css/icinga/layout-structure.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/css/icinga/layout-structure.less b/public/css/icinga/layout-structure.less index e7d415073..04b90bcb5 100644 --- a/public/css/icinga/layout-structure.less +++ b/public/css/icinga/layout-structure.less @@ -159,6 +159,10 @@ html { -webkit-border-radius: 0.2em; } +.container .controls > * { + margin-left: 1em; +} + .container .controls h1 { margin-left: 1em; margin-right: 1em;