From 1b25d19a0f9184705a1d8b49695fd18ff0e251b5 Mon Sep 17 00:00:00 2001 From: Jalil Arfaoui Date: Sat, 13 May 2023 23:31:16 +0200 Subject: [PATCH] fix: ugly selects --- src/routes/Liste/FiltreAcademie.tsx | 2 +- src/routes/Liste/FiltreDepartement.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/routes/Liste/FiltreAcademie.tsx b/src/routes/Liste/FiltreAcademie.tsx index 29f5fc7..fe698f7 100644 --- a/src/routes/Liste/FiltreAcademie.tsx +++ b/src/routes/Liste/FiltreAcademie.tsx @@ -19,6 +19,6 @@ export const FiltreAcademie = ({ resistants, onChange }: Props) => ( .filter(Boolean) .sort() .map((a) => ({ label: a, value: a }))} - style={{ paddingRight: 0 }} + styles={{ input: { paddingRight: 0, width: "inherit" } }} /> ); diff --git a/src/routes/Liste/FiltreDepartement.tsx b/src/routes/Liste/FiltreDepartement.tsx index 668bf67..aa1dd38 100644 --- a/src/routes/Liste/FiltreDepartement.tsx +++ b/src/routes/Liste/FiltreDepartement.tsx @@ -21,5 +21,6 @@ export const FiltreDepartement = ({ resistants, onChange }: Props) => ( .filter(Boolean) .sort() .map((d) => ({ label: d, value: d }))} + styles={{ input: { paddingRight: 0, width: "inherit" } }} /> );