Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

minor UI fixes

Steven Tey4d193fc39b96
diff --git a/apps/web/ui/links/links-toolbar.tsx b/apps/web/ui/links/links-toolbar.tsx
index 4e2dc9345e..2481dbcde7 100644
--- a/apps/web/ui/links/links-toolbar.tsx
+++ b/apps/web/ui/links/links-toolbar.tsx
@@ -293,14 +293,18 @@ export const LinksToolbar = memo(
)}
>
{bulkActions.map(
- ({
- label,
- icon: Icon,
- action,
- disabledTooltip,
- keyboardShortcut,
- }) => (
+ (
+ {
+ label,
+ icon: Icon,
+ action,
+ disabledTooltip,
+ keyboardShortcut,
+ },
+ idx,
+ ) => (
<Button
+ key={idx}
type="button"
variant="secondary"
className="xs:px-2.5 h-7 gap-1.5 px-2 text-xs min-[1120px]:pr-1.5"
diff --git a/packages/ui/src/sheet.tsx b/packages/ui/src/sheet.tsx
index 1df58f96e0..eb105d1407 100644
--- a/packages/ui/src/sheet.tsx
+++ b/packages/ui/src/sheet.tsx
@@ -14,7 +14,12 @@ function SheetRoot({
>) {
const RootComponent = nested ? Drawer.NestedRoot : Drawer.Root;
return (
- <RootComponent direction="right" handleOnly {...rest}>
+ <RootComponent
+ direction="right"
+ handleOnly
+ repositionInputs={false}
+ {...rest}
+ >
<Drawer.Portal>
<Drawer.Overlay
className="fixed inset-0 bg-black/20"