From 39b19805099586a5843b8fa0d4eff772c97da1f1 Mon Sep 17 00:00:00 2001 From: "Roman Schmerold (BNoiZe)" Date: Sun, 5 Jan 2014 18:41:48 +0100 Subject: [PATCH] Only use header css if webfont is enabled, fixes navigation padding Signed-off-by: Roman Schmerold (BNoiZe) --- templates/Sparkle/assets/css/main.css | 1 + templates/Sparkle/header.tpl | 6 +++--- templates/Sparkle/index.tpl | 6 +++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/templates/Sparkle/assets/css/main.css b/templates/Sparkle/assets/css/main.css index 72fd3acc..1982fdf8 100644 --- a/templates/Sparkle/assets/css/main.css +++ b/templates/Sparkle/assets/css/main.css @@ -478,6 +478,7 @@ nav { width:230px; background-color:#f7f8fa; min-height:500px; + padding-top: 10px; } nav div:first-child { diff --git a/templates/Sparkle/header.tpl b/templates/Sparkle/header.tpl index 1ed341ad..595af5bd 100644 --- a/templates/Sparkle/header.tpl +++ b/templates/Sparkle/header.tpl @@ -28,11 +28,11 @@ {$js} <if isset($userinfo['loginname']) && $userinfo['loginname'] != ''>{$userinfo['loginname']} - </if>Froxlor Server Management Panel + + diff --git a/templates/Sparkle/index.tpl b/templates/Sparkle/index.tpl index 59e5b0e4..966663c8 100644 --- a/templates/Sparkle/index.tpl +++ b/templates/Sparkle/index.tpl @@ -17,11 +17,11 @@ {$title}Froxlor Server Management Panel + {if $use_webfonts == 1} + {/if}