fix: ugly selects
parent
6d9d26fd17
commit
1b25d19a0f
|
@ -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" } }}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|
|
@ -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" } }}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue