From 5a43b7ba9a3d37f662b1a92a05e26cb9d2b0d315 Mon Sep 17 00:00:00 2001 From: Joe Dixon Date: Tue, 2 Jul 2019 20:39:41 +0100 Subject: [PATCH 1/2] fix logged in nav --- resources/css/app.css | 17 +++++++++++++++++ resources/views/layouts/_nav.blade.php | 18 +++++++++--------- 2 files changed, 26 insertions(+), 9 deletions(-) diff --git a/resources/css/app.css b/resources/css/app.css index 3a1fc1f8f..86f3165ac 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -153,6 +153,11 @@ div.thread-card:nth-last-child(2) { padding: 1.675rem 0; } + nav ul.nav>li a { + @apply flex items-center; + height: 30px; + } + nav ul.nav>li:first-child { @apply ml-0; } @@ -166,6 +171,10 @@ div.thread-card:nth-last-child(2) { top: 100%; } + nav ul.subnav.subnav-right { + @apply left-auto right-0; + } + nav ul.subnav.active { @apply block; } @@ -174,6 +183,14 @@ div.thread-card:nth-last-child(2) { @apply border-b p-2; } + nav ul.subnav li.divider { + @apply block p-0 border-2; + } + + nav ul.subnav li.active { + @apply border-b p-2 border-gray-300; + } + nav ul.subnav li:last-child { @apply border-none; } diff --git a/resources/views/layouts/_nav.blade.php b/resources/views/layouts/_nav.blade.php index db9ef4a37..8f7e88777 100644 --- a/resources/views/layouts/_nav.blade.php +++ b/resources/views/layouts/_nav.blade.php @@ -50,11 +50,11 @@
  • Login
  • Register
  • @else -
  • -