fix: ugly selects

proto-module-actu-react
Jalil Arfaoui 2023-05-13 23:31:16 +02:00
parent 6d9d26fd17
commit 1b25d19a0f
2 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,6 @@ export const FiltreAcademie = ({ resistants, onChange }: Props) => (
.filter(Boolean) .filter(Boolean)
.sort() .sort()
.map((a) => ({ label: a, value: a }))} .map((a) => ({ label: a, value: a }))}
style={{ paddingRight: 0 }} styles={{ input: { paddingRight: 0, width: "inherit" } }}
/> />
); );

View File

@ -21,5 +21,6 @@ export const FiltreDepartement = ({ resistants, onChange }: Props) => (
.filter(Boolean) .filter(Boolean)
.sort() .sort()
.map((d) => ({ label: d, value: d }))} .map((d) => ({ label: d, value: d }))}
styles={{ input: { paddingRight: 0, width: "inherit" } }}
/> />
); );