From 97e91542a74433f1306918dffff225f23d7fca16 Mon Sep 17 00:00:00 2001 From: RealOrangeOne Date: Sun, 20 Mar 2016 17:19:04 +0000 Subject: [PATCH] Make navbar display contaner width --- static/src/less/navbar.less | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/static/src/less/navbar.less b/static/src/less/navbar.less index 82e57a7..45c5255 100644 --- a/static/src/less/navbar.less +++ b/static/src/less/navbar.less @@ -39,12 +39,14 @@ .navbar { - // max-height: @navbar-height; border-radius: 0; border: none; .home-button a { .transition(~"ease-in-out .3 all"); } + @media (min-height: @screen-sm-min) { + max-height: @navbar-height; + } } .navbar-nav.nav { @@ -117,25 +119,11 @@ .header { #navbar-container { margin: 0 auto; - width: 110%; - margin-left: -5%; &:not(.stick-top) { position: initial; } &.stick-top { - @container-size: 720px; - width: @container-size * 1.1; - margin-left: -@container-size * 0.05; - @media (min-width: @screen-md-min) { - @container-size: 940px; - width: @container-size * 1.1; - margin-left: -@container-size * 0.05; - } - @media (min-width: @screen-lg-min) { - @container-size: 1140px; - width: @container-size * 1.1; - margin-left: -@container-size * 0.05; - } + width: 100%; } } }