Skip to content

Commit 20c80ba

Browse files
committed
comp: add overflow-hidden to multiple-select
1 parent 5bfa0b0 commit 20c80ba

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

Diff for: app/(home)/partials/navbar.tsx

+6-1
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,11 @@ export const menus = [
130130
{ href: "/icons", label: "Icons" },
131131
{ href: "/colors", label: "Colors" },
132132
{ href: "/blocks", label: "Blocks" },
133-
{ href: "https://blocks.getjustd.com", label: "Pro", icon: IconBrandJustdBlocks, external: true },
133+
{
134+
href: "https://blocks.getjustd.com",
135+
label: "Premium blocks",
136+
icon: IconBrandJustdBlocks,
137+
external: true,
138+
},
134139
{ href: "https://blocks.getjustd.com/templates", label: "Templates", external: true },
135140
]

Diff for: components/ui/multiple-select.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -261,12 +261,13 @@ const MultipleSelect = <T extends SelectedKey>({
261261
<PopoverContent
262262
respectScreen={false}
263263
isNonModal
264-
className="max-w-none"
264+
className="max-w-none overflow-hidden"
265265
style={{ width: `${width}px` }}
266266
triggerRef={triggerRef}
267267
trigger="ComboBox"
268268
>
269269
<ListBox
270+
className="border-0 shadow-0"
270271
renderEmptyState={() =>
271272
renderEmptyState ? (
272273
renderEmptyState(fieldState.inputValue)

Diff for: components/ui/select.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,5 +147,5 @@ Select.Section = SelectSection
147147
Select.Trigger = SelectTrigger
148148
Select.List = SelectList
149149

150-
export type { SelectProps, SelectTriggerProps }
151150
export { Select }
151+
export type { SelectProps, SelectTriggerProps }

0 commit comments

Comments
 (0)