fix: add vertical spacing when hovered (#26419)

This commit is contained in:
Kartik Labhshetwar authored and GitHub committed 2026-01-03 21:30:31 +00:00
1 parent 285f161e68
commit c6e74e6e25
1 file changed
+10 -1
@@ -85,11 +85,20 @@ export default function LocationSelect({
...props
}: Props<LocationOption, false, GroupOptionType> & { customClassNames?: LocationSelectCustomClassNames }) {
const isPlatform = useIsPlatform();
const { innerClassNames: propsInnerClassNames, ...restProps } = props as typeof props & {
innerClassNames?: {
option?: string;
};
};
return (
<Select<LocationOption>
name="location"
id="location-select"
data-testid="location-select"
innerClassNames={{
...propsInnerClassNames,
option: classNames("mb-1 last:mb-0", propsInnerClassNames?.option),
}}
components={{
Option: (props) => {
return (
@@ -137,7 +146,7 @@ export default function LocationSelect({
{e.label}
</p>
)}
{...props}
{...restProps}
/>
);
}