mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 08:46:22 +02:00
refactor: update FixedToolbarButtons to conditionally render save button based on read-only state, and adjust dropdown menu styles for better usability
This commit is contained in:
parent
df3f724caf
commit
6af251a108
3 changed files with 21 additions and 19 deletions
|
|
@ -195,7 +195,7 @@ export function InsertToolbarButton(props: DropdownMenuProps) {
|
|||
</DropdownMenuTrigger>
|
||||
|
||||
<DropdownMenuContent
|
||||
className="flex max-h-[500px] min-w-0 flex-col overflow-y-auto"
|
||||
className="flex max-h-[300px] min-w-0 flex-col overflow-y-scroll"
|
||||
align="start"
|
||||
>
|
||||
{groups.map(({ group, items }) => (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue