From 3901cdbf2a2237fdcd506715f6b2c3a1f4f6718c Mon Sep 17 00:00:00 2001 From: Michael Weimann Date: Wed, 19 Apr 2023 21:19:22 +0200 Subject: [PATCH] Tweak navbar collapse as guest and fix language dropdown position (#1128) * Fix language switcher position * Tweak navbar collapse as guest --- .../layouts/parts/language_dropdown.twig | 12 ++++++++++ resources/views/layouts/parts/navbar.twig | 23 +++++++++---------- 2 files changed, 23 insertions(+), 12 deletions(-) create mode 100644 resources/views/layouts/parts/language_dropdown.twig diff --git a/resources/views/layouts/parts/language_dropdown.twig b/resources/views/layouts/parts/language_dropdown.twig new file mode 100644 index 00000000..567a71d7 --- /dev/null +++ b/resources/views/layouts/parts/language_dropdown.twig @@ -0,0 +1,12 @@ +{% import 'macros/base.twig' as m %} + +{% if config('locales')|length > 1 %} + +{% endif %} diff --git a/resources/views/layouts/parts/navbar.twig b/resources/views/layouts/parts/navbar.twig index 9e8e43f0..bb84230a 100644 --- a/resources/views/layouts/parts/navbar.twig +++ b/resources/views/layouts/parts/navbar.twig @@ -22,7 +22,14 @@ {% endmacro %} -