From 197a5805be1e7b9a8ea278d1e2711967d936a327 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 bd6725d3..1403b377 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 b82f6d53..bb902ac2 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;