From 25b0957a7f0cdc7bbec54bd71ebacca2200d8239 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 14 Mar 2016 23:37:13 +0200 Subject: [PATCH] Fix navigation when not signed up and browser is narrower --- public/css/built.css | 20 ++++++++++++++++++-- public/css/style.css | 20 ++++++++++++++++++-- resources/views/header.blade.php | 6 ++++-- resources/views/invoices/edit.blade.php | 2 +- 4 files changed, 41 insertions(+), 7 deletions(-) diff --git a/public/css/built.css b/public/css/built.css index d4b3a8204e6b..4a7c3612187f 100644 --- a/public/css/built.css +++ b/public/css/built.css @@ -2910,8 +2910,24 @@ box-shadow: 0px 0px 15px 0px rgba(0, 5, 5, 0.2); .large-dialog { width: 960px; } - .hide-desktop - { + .hide-desktop { + display: none; + } +} + +/* Style to fix navigation by show icon instead of name */ +@media only screen and (min-width : 1200px) { + .nav-account-icon { + display: none; + } +} +@media only screen and (max-width : 992px) { + .nav-account-icon { + display: none; + } +} +@media only screen and (max-width : 1200px) and (min-width: 992px) { + .nav-account-name { display: none; } } diff --git a/public/css/style.css b/public/css/style.css index e469e9418d83..97f2bbf79edf 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -783,8 +783,24 @@ box-shadow: 0px 0px 15px 0px rgba(0, 5, 5, 0.2); .large-dialog { width: 960px; } - .hide-desktop - { + .hide-desktop { + display: none; + } +} + +/* Style to fix navigation by show icon instead of name */ +@media only screen and (min-width : 1200px) { + .nav-account-icon { + display: none; + } +} +@media only screen and (max-width : 992px) { + .nav-account-icon { + display: none; + } +} +@media only screen and (max-width : 1200px) and (min-width: 992px) { + .nav-account-name { display: none; } } diff --git a/resources/views/header.blade.php b/resources/views/header.blade.php index 4a795e0e8a1a..46bebbd68732 100644 --- a/resources/views/header.blade.php +++ b/resources/views/header.blade.php @@ -427,14 +427,16 @@