From 3e6a60a0909fe1ec992683a2bf98b84476965a5c Mon Sep 17 00:00:00 2001 From: Gruzdev Studio <9740809+gruzdev-studio@users.noreply.github.com> Date: Fri, 28 Mar 2025 08:19:15 +0200 Subject: [PATCH] Update tinyfilemanager.php Fix dropdown menu positioning --- tinyfilemanager.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tinyfilemanager.php b/tinyfilemanager.php index d1848d9..8e68792 100644 --- a/tinyfilemanager.php +++ b/tinyfilemanager.php @@ -4608,6 +4608,23 @@ function fm_show_header_login() .fs-7 { font-size: 14px; } + .dropdown-menu { + right: 0; + left: auto !important; + margin-top: 2px; + } + + @media (max-width: 768px) { + .dropdown-menu { + position: static !important; + float: none; + width: auto; + margin-top: 0; + background-color: transparent; + border: 0; + box-shadow: none; + } + }