From c4169248fffb4f01b52b318d5be7d56dd76306b6 Mon Sep 17 00:00:00 2001 From: Deon George Date: Sun, 11 Dec 2022 21:32:32 +1100 Subject: [PATCH] Enable users drop down menu on their name, with a link to register/link a BBS --- public/css/fixes.css | 20 +++++++++++++++++++ .../views/layouts/partials/scripts.blade.php | 2 +- .../views/layouts/partials/topmenu.blade.php | 12 ++++++++++- 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/public/css/fixes.css b/public/css/fixes.css index 0fc3e47..3ddd975 100644 --- a/public/css/fixes.css +++ b/public/css/fixes.css @@ -61,4 +61,24 @@ ol { .btn.btn-success a { color: white; +} + +/* Stop dropdown menu animation */ +.collapsing { + -webkit-transition: none; + transition: none; + display: none; +} + +/* dropdown menu fixes */ +#nav-menu div.collapse.navbar-collapse.show ul { + padding: 5px 20px 5px 5px; +} +#nav-menu div.collapse.navbar-collapse.show li { + display: list-item; +} +#nav-menu div.collapse.navbar-collapse.show li a { + padding: 5px 5px 5px 5px; + margin: 0; + font-size: 85%; } \ No newline at end of file diff --git a/resources/views/layouts/partials/scripts.blade.php b/resources/views/layouts/partials/scripts.blade.php index 0f8df5e..4d24f31 100644 --- a/resources/views/layouts/partials/scripts.blade.php +++ b/resources/views/layouts/partials/scripts.blade.php @@ -3,7 +3,7 @@ - + diff --git a/resources/views/layouts/partials/topmenu.blade.php b/resources/views/layouts/partials/topmenu.blade.php index 97eeb56..7bd069d 100644 --- a/resources/views/layouts/partials/topmenu.blade.php +++ b/resources/views/layouts/partials/topmenu.blade.php @@ -18,7 +18,17 @@