Fix some styling
All checks were successful
Build and Publish Docker Container / build (push) Successful in 1m6s

This commit is contained in:
Joshua Coles 2023-09-29 11:20:11 +01:00
parent 43c81b206f
commit a7568c1bb2
2 changed files with 8 additions and 1 deletions

View File

@ -33,7 +33,7 @@ function MenuList(props: MenuListProps) {
return (<List
width={'100%'}
height={maxHeight}
itemCount={children.length}
itemCount={children?.length ?? 0}
itemSize={height}
initialScrollOffset={initialOffset}
>
@ -82,9 +82,12 @@ export function LargeSelect() {
return (
<div className={"m-5 text-lg"}>
<Select
classNames={{input: () => 'select-input-wrapper'}}
onChange={onChange as any}
components={{MenuList}}
isDisabled={isLoading}
isLoading={isLoading}
isClearable={true}
options={options}
filterOption={createFilter({ignoreAccents: false})}
/>

View File

@ -1,3 +1,7 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
.select-input-wrapper > input:focus {
box-shadow: none;
}