mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-17 22:39:42 +02:00
Fix dropdown separator
This commit is contained in:
@@ -399,7 +399,7 @@ const Menu = forwardRef<Omit<DropdownRef, 'open' | 'isOpen' | 'toggle'>, MenuPro
|
|||||||
{items.map((item, i) => {
|
{items.map((item, i) => {
|
||||||
if (item.type === 'separator') {
|
if (item.type === 'separator') {
|
||||||
return (
|
return (
|
||||||
<Separator key={i} className="my-1.5">
|
<Separator key={i} className="ml-2 my-1.5">
|
||||||
{item.label}
|
{item.label}
|
||||||
</Separator>
|
</Separator>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user