From 7869a849164dd8431a1326385c33af5d397b9789 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl <trygvis@inamo.no> Date: Sun, 13 Jan 2013 08:27:30 +0100 Subject: o Nailing the navbar to the top. --- src/main/resources/webapp/WEB-INF/tags/common/head.tagx | 5 +++++ src/main/resources/webapp/apps/core/navbar.html | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/resources/webapp/WEB-INF/tags/common/head.tagx b/src/main/resources/webapp/WEB-INF/tags/common/head.tagx index f651c2b..edb00d7 100755 --- a/src/main/resources/webapp/WEB-INF/tags/common/head.tagx +++ b/src/main/resources/webapp/WEB-INF/tags/common/head.tagx @@ -11,6 +11,11 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <link type="text/css" rel="stylesheet" href="/external/bootstrap-2.2.2/css/bootstrap.css"/> + <style> + body { + padding-top: 40px; + } + </style> <link type="text/css" rel="stylesheet" href="/external/bootstrap-2.2.2/css/bootstrap-responsive.css"/> <link type="text/css" rel="stylesheet" href="/external/angular-ui/ng-grid-1.5.0/ng-grid.css"/> <link type="text/css" rel="stylesheet" href="/apps/app.css"/> diff --git a/src/main/resources/webapp/apps/core/navbar.html b/src/main/resources/webapp/apps/core/navbar.html index 914258e..9226f2e 100755 --- a/src/main/resources/webapp/apps/core/navbar.html +++ b/src/main/resources/webapp/apps/core/navbar.html @@ -1,4 +1,4 @@ -<div class="navbar"> +<div class="navbar navbar-fixed-top"> <div class="navbar-inner"> <div class="container"> <span class="brand"><a href="/">Wat</a></span> -- cgit v1.2.3