Skip to content

Commit

Permalink
refactor: Replace hardcoded px value with appropriate tailwind class …
Browse files Browse the repository at this point in the history
…in Dropdown component (#2113)
  • Loading branch information
nickytonline authored Nov 13, 2023
2 parents 34a3a06 + 205fe19 commit abf3380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/atoms/Dropdown/dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const DropdownMenuContent = React.forwardRef<
ref={ref}
sideOffset={sideOffset}
className={clsx(
"z-50 min-w-[8rem] overflow-hidden rounded-lg border border-slate-100 bg-white p-1 text-slate-700 shadow-xs animate-in data-[side=right]:slide-in-from-left-2 data-[side=left]:slide-in-from-right-2 data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2 ",
"z-50 min-w-max overflow-hidden rounded-lg border border-slate-100 bg-white p-1 text-slate-700 shadow-xs animate-in data-[side=right]:slide-in-from-left-2 data-[side=left]:slide-in-from-right-2 data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2 ",
className
)}
{...props}
Expand Down

0 comments on commit abf3380

Please sign in to comment.