From 7735e5d31d0cf1e8fb70530502a4ee965b237954 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 17 Apr 2015 16:07:18 +0200 Subject: [PATCH] Fix padding and margin of .content and .controls refs #7876 --- public/css/icinga/layout-structure.less | 4 ---- public/css/icinga/main-content.less | 6 ------ public/css/icinga/tabs.less | 1 + 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/public/css/icinga/layout-structure.less b/public/css/icinga/layout-structure.less index b10c6e6ed..23a598b52 100644 --- a/public/css/icinga/layout-structure.less +++ b/public/css/icinga/layout-structure.less @@ -157,10 +157,6 @@ html { padding: 1em; } -.controls + .fake-controls + .content { - padding-top: 0; -} - .dashboard .content { padding: 0; overflow: auto; diff --git a/public/css/icinga/main-content.less b/public/css/icinga/main-content.less index 32054e242..b442723cb 100644 --- a/public/css/icinga/main-content.less +++ b/public/css/icinga/main-content.less @@ -118,7 +118,6 @@ table.avp a:hover { /* Definitively monitoring-only: */ table.objectstate { - margin: 1em; border-collapse: separate; border-spacing: 1px; } @@ -194,11 +193,6 @@ table.benchmark { color: inherit; } -/* controls have no padding as of tabs */ -.controls > h1 { - margin-right: 1em; -} - [class^="icon-"]:before, [class*=" icon-"]:before { text-decoration: none; } diff --git a/public/css/icinga/tabs.less b/public/css/icinga/tabs.less index 6d35c5e20..2c02bfb94 100644 --- a/public/css/icinga/tabs.less +++ b/public/css/icinga/tabs.less @@ -7,6 +7,7 @@ ul.tabs { .controls ul.tabs { margin-left: -1em; + margin-right: -1em; margin-top: -3.54em; height: 2.6em; overflow: hidden;