From f1de6a90e16de4b0756e890b9dc4b119d97d6778 Mon Sep 17 00:00:00 2001 From: filip Date: Sat, 24 Oct 2020 20:50:08 +0200 Subject: nav RTL collapse fix --- lib.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib.php b/lib.php index 8d3ae5b..a70a697 100644 --- a/lib.php +++ b/lib.php @@ -340,6 +340,7 @@ function _mgnav_html($wrap = false, $lang = 'en', $inject = null, $vhost = 'www. $s = implode($s); $links_direction = is_locale_rtl($lang) ? ' dir="rtl"' : ''; $links_position = is_locale_rtl($lang) ? 'ml-auto' : 'mr-auto'; + $navbar_collapse_position = is_locale_rtl($lang) ? 'style="text-align: right;"' : 'style="text-align: left;"'; $h = sprintf(' -- cgit v1.2.1