From cb887ca778bec77b44b68ad36d853e195992a564 Mon Sep 17 00:00:00 2001 From: Gustavo Cortez Date: Sun, 20 Apr 2014 19:39:16 -0300 Subject: [PATCH] Fix navbar menu on small devices --- css/main.css | 9 +++++++++ index.html | 4 ++-- js/controllers/header.js | 1 + 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/css/main.css b/css/main.css index bedc96ff4..980cc0d13 100644 --- a/css/main.css +++ b/css/main.css @@ -185,6 +185,15 @@ small.has-error { color: #f04124; } +@media (max-width: 641px) { + .hide_menu { + display: none; + } + .show_menu { + display: block; + } +} + hr { margin: 2.25rem 0;} button.primary { background-color: #111; } diff --git a/index.html b/index.html index 6773f7b4b..6544f6617 100644 --- a/index.html +++ b/index.html @@ -27,11 +27,11 @@ -
+
  • {{item.title}} diff --git a/js/controllers/header.js b/js/controllers/header.js index d6680e76b..4236c486f 100644 --- a/js/controllers/header.js +++ b/js/controllers/header.js @@ -47,4 +47,5 @@ angular.module('copay.header').controller('HeaderController', $rootScope.flashMessage = {}; }; + $rootScope.isCollapsed = true; });