From 185ddf1eaf82e08586be6c7689507ee924d9dd47 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 19 Aug 2022 13:15:48 +0000 Subject: update to bootstrap 5.2 and fixes --- view/css/bootstrap-red.css | 5 ++--- view/tpl/app_nav.tpl | 2 +- view/tpl/navbar_default.tpl | 38 ++++++++++++++++++++++---------------- view/tpl/profile_tabs.tpl | 2 +- 4 files changed, 26 insertions(+), 21 deletions(-) (limited to 'view') diff --git a/view/css/bootstrap-red.css b/view/css/bootstrap-red.css index 7207086b9..b0bd4fd75 100644 --- a/view/css/bootstrap-red.css +++ b/view/css/bootstrap-red.css @@ -52,9 +52,8 @@ nav .dropdown-menu { transition: none; } -.offcanvas-end { - width: unset; - min-width: 250px; +.offcanvas.offcanvas-end { + --bs-offcanvas-width: 19rem; } /* nav overrides end */ diff --git a/view/tpl/app_nav.tpl b/view/tpl/app_nav.tpl index c3a7bc8b6..a8489382e 100644 --- a/view/tpl/app_nav.tpl +++ b/view/tpl/app_nav.tpl @@ -1 +1 @@ -{{if $icon}}{{else}}{{/if}}{{$app.name}} +{{if $icon}}{{else}}{{/if}}{{$app.name}} diff --git a/view/tpl/navbar_default.tpl b/view/tpl/navbar_default.tpl index 0dccd4404..06e764a54 100644 --- a/view/tpl/navbar_default.tpl +++ b/view/tpl/navbar_default.tpl @@ -179,7 +179,7 @@ {{/if}} -
+ {{else}}
{{if $name}} @@ -196,43 +196,49 @@
-
+
{{if $channel_apps.0}} -