Skip to content

Commit 4d193fc

Browse files
committed
minor UI fixes
1 parent 4e7b120 commit 4d193fc

2 files changed

Lines changed: 17 additions & 8 deletions

File tree

apps/web/ui/links/links-toolbar.tsx

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -293,14 +293,18 @@ export const LinksToolbar = memo(
293293
)}
294294
>
295295
{bulkActions.map(
296-
({
297-
label,
298-
icon: Icon,
299-
action,
300-
disabledTooltip,
301-
keyboardShortcut,
302-
}) => (
296+
(
297+
{
298+
label,
299+
icon: Icon,
300+
action,
301+
disabledTooltip,
302+
keyboardShortcut,
303+
},
304+
idx,
305+
) => (
303306
<Button
307+
key={idx}
304308
type="button"
305309
variant="secondary"
306310
className="xs:px-2.5 h-7 gap-1.5 px-2 text-xs min-[1120px]:pr-1.5"

packages/ui/src/sheet.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ function SheetRoot({
1414
>) {
1515
const RootComponent = nested ? Drawer.NestedRoot : Drawer.Root;
1616
return (
17-
<RootComponent direction="right" handleOnly {...rest}>
17+
<RootComponent
18+
direction="right"
19+
handleOnly
20+
repositionInputs={false}
21+
{...rest}
22+
>
1823
<Drawer.Portal>
1924
<Drawer.Overlay
2025
className="fixed inset-0 bg-black/20"

0 commit comments

Comments
 (0)