From e01259d5175eaac1e6f651ae62dacd227247cf3a Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Fri, 15 Jan 2016 12:14:15 +0300 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D1=84=D0=B8=D0=BA=D1=81=D0=B8?= =?UTF-8?q?=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B0=20=D1=88=D0=B0=D0=BF=D0=BA?= =?UTF-8?q?=D0=B0=20(=D0=BD=D0=B0=20=D1=82=D0=BE=D1=82=20=D1=81=D0=BB?= =?UTF-8?q?=D1=83=D1=87=D0=B0=D0=B9,=20=D0=B5=D1=81=D0=BB=D0=B8=20=D0=BE?= =?UTF-8?q?=D0=BD=D0=B0=20=D1=80=D0=B5=D1=88=D0=B8=D1=82=20=D0=BF=D0=BE?= =?UTF-8?q?=D1=81=D0=BA=D1=80=D0=BE=D0=BB=D0=B8=D1=82=D1=8C=D1=81=D1=8F)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/root/root.scss | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/pages/root/root.scss b/src/pages/root/root.scss index 99514a1..c30d969 100644 --- a/src/pages/root/root.scss +++ b/src/pages/root/root.scss @@ -1,6 +1,8 @@ @import '~components/ui/colors.scss'; @import '~components/ui/fonts.scss'; +$userBarHeight: 50px; + .root { height: 100%; } @@ -11,8 +13,11 @@ } .header { - position: relative; - height: 50px; + position: fixed; + top: 0; + z-index: 100; + height: $userBarHeight; + width: 100%; background: $green; } @@ -38,8 +43,7 @@ // place for header min-height: 100%; box-sizing: border-box; - padding-top: 50px; - margin-top: -50px; + padding-top: $userBarHeight; } .userbar {