From 561ce4c8aa36f8b8c6d006dbb5afd53ac9c08db2 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 26 May 2019 04:02:08 +0200 Subject: [PATCH] Made nav header fixed --- platypush/backend/http/static/css/source/webpanel/index.scss | 2 +- platypush/backend/http/static/css/source/webpanel/nav.scss | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/platypush/backend/http/static/css/source/webpanel/index.scss b/platypush/backend/http/static/css/source/webpanel/index.scss index bd6725d38c..1403b3773f 100644 --- a/platypush/backend/http/static/css/source/webpanel/index.scss +++ b/platypush/backend/http/static/css/source/webpanel/index.scss @@ -16,7 +16,7 @@ body { } main { - margin: auto; + margin: 6rem auto; } a { diff --git a/platypush/backend/http/static/css/source/webpanel/nav.scss b/platypush/backend/http/static/css/source/webpanel/nav.scss index b82f6d532b..bb902ac21f 100644 --- a/platypush/backend/http/static/css/source/webpanel/nav.scss +++ b/platypush/backend/http/static/css/source/webpanel/nav.scss @@ -1,5 +1,10 @@ nav { margin-bottom: 1.2rem; + position: fixed; + top: 0; + width: 100%; + z-index: 10; + opacity: 0.9; ul { position: relative;