From 1e4c1eca1077ab23e7d00524b54f09f9158b3617 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Sat, 4 Jan 2014 13:49:54 +0100 Subject: [PATCH] made debug toolbar position fixed again issue #1747 --- extensions/yii/debug/assets/main.css | 4 ++++ extensions/yii/debug/assets/toolbar.css | 12 +++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/extensions/yii/debug/assets/main.css b/extensions/yii/debug/assets/main.css index 428695a..d192124 100644 --- a/extensions/yii/debug/assets/main.css +++ b/extensions/yii/debug/assets/main.css @@ -1,3 +1,7 @@ +body { + padding-top: 62px; +} + span.indent { color: #ccc; } diff --git a/extensions/yii/debug/assets/toolbar.css b/extensions/yii/debug/assets/toolbar.css index 1db9906..3c136b5 100644 --- a/extensions/yii/debug/assets/toolbar.css +++ b/extensions/yii/debug/assets/toolbar.css @@ -1,4 +1,8 @@ #yii-debug-toolbar { + position: fixed; + left: 0; + right: 0; + z-index: 1000000; padding: 0; font: 11px Verdana, Arial, sans-serif; text-align: left; @@ -16,16 +20,14 @@ } .yii-debug-toolbar-top { - border-bottom: 1px solid #e4e4e4; + top: 0; margin: 0 0 20px 0; + height: 42px; + border-bottom: 1px solid #e4e4e4; } .yii-debug-toolbar-bottom { - position: fixed; - left: 0; - right: 0; bottom: 0; - z-index: 1000000; margin: 0; border-top: 1px solid #ccc; }