More stuff on sidebar

This commit is contained in:
Gregory Schier
2023-04-09 21:52:04 -07:00
parent 4dddfc0cc5
commit a8d73f74f4
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>