mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 16:25:51 +01:00
fix(react/global_menu): menu layout on mobile
This commit is contained in:
@@ -80,13 +80,13 @@ export default function Dropdown({ className, buttonClassName, isStatic, childre
|
||||
<span className="caret"></span>
|
||||
</button>
|
||||
|
||||
<div
|
||||
<ul
|
||||
class={`dropdown-menu ${isStatic ? "static" : ""} ${dropdownContainerClassName ?? ""} tn-dropdown-list`}
|
||||
style={dropdownContainerStyle}
|
||||
aria-labelledby={ariaId}
|
||||
>
|
||||
{shown && children}
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user