From f76aa28d66ec56372238ce76eba563d5ef6999fd Mon Sep 17 00:00:00 2001 From: Maverick Date: Wed, 3 Jun 2015 22:21:13 +1000 Subject: [PATCH] Main menu bar "Ships, Builds, Compare", et all is now responsive and should work on regular sized and tiny screens alike now. --- app/less/header.less | 12 ++++++++++++ app/views/_header.html | 10 +++++----- bower.json | 5 ++++- 3 files changed, 21 insertions(+), 6 deletions(-) diff --git a/app/less/header.less b/app/less/header.less index 7e21127a..63a396fe 100755 --- a/app/less/header.less +++ b/app/less/header.less @@ -56,6 +56,18 @@ header { &.selected { background-color: @bgBlack; } + + .menu-item-label { + @media screen and (min-width: 541px) { + margin-left: 1em; + } + @media screen and (max-width: 540px) { + margin-left: 0.5em; + } + @media screen and (max-width: 520px) { + display: none; + } + } } .menu-list { diff --git a/app/views/_header.html b/app/views/_header.html index d3598777..04ec2a5c 100755 --- a/app/views/_header.html +++ b/app/views/_header.html @@ -7,8 +7,8 @@ @@ -16,7 +16,7 @@