More stuff on sidebar

This commit is contained in:
Gregory Schier
2023-04-09 21:52:04 -07:00
parent 2285fe9f1c
commit ebb78922f0
7 changed files with 204 additions and 76 deletions

View File

@@ -358,7 +358,7 @@ function MenuItem({ className, focused, onFocus, item, onSelect, ...props }: Men
)}
{...props}
>
{item.leftSlot && <div className="w-6 flex justify-start">{item.leftSlot}</div>}
{item.leftSlot && <div className="pr-2 flex justify-start">{item.leftSlot}</div>}
<div>{item.label}</div>
{item.rightSlot && <div className="ml-auto pl-3">{item.rightSlot}</div>}
</button>