From 67d853840b8e13ec75de99755ef31bfab3af580e Mon Sep 17 00:00:00 2001 From: Sebastian Leidig Date: Thu, 28 Jan 2016 21:22:31 +0100 Subject: [PATCH] keep title and menu fixed while scrolling see #75 --- app/index.html | 2 +- app/styles/sb-admin-2.scss | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/app/index.html b/app/index.html index c4a0b22..47ddee7 100644 --- a/app/index.html +++ b/app/index.html @@ -80,7 +80,7 @@ -
+
diff --git a/app/styles/sb-admin-2.scss b/app/styles/sb-admin-2.scss index 9dfd1b6..f658b03 100644 --- a/app/styles/sb-admin-2.scss +++ b/app/styles/sb-admin-2.scss @@ -22,11 +22,16 @@ body { #page-wrapper { position: inherit; margin: 0 0 0 250px; - padding: 0 30px; + padding: 30px 30px; border-left: 1px solid #e7e7e7; } } +.navbar { + position: fixed; + width: 100%; +} + .navbar-top-links { margin-right: 0; } @@ -373,4 +378,4 @@ table.dataTable thead .sorting:after { .panel-yellow a:hover { color: #df8a13; -} \ No newline at end of file +}