From f327b2aba59d5c98d6c6b5362fb57ebf1991c85a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathis=20Dr=C3=B6ge?= Date: Sun, 1 Dec 2024 21:27:00 +0100 Subject: [PATCH] Fix the input element only being clickable in the area containing text --- src/frontend/components/UI/SelectField/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/components/UI/SelectField/index.tsx b/src/frontend/components/UI/SelectField/index.tsx index 17a5378c74..7818cd6237 100644 --- a/src/frontend/components/UI/SelectField/index.tsx +++ b/src/frontend/components/UI/SelectField/index.tsx @@ -45,7 +45,7 @@ export default function SelectField({ '& .MuiSelect-icon': { display: 'none' }, '& .MuiOutlinedInput-notchedOutline legend': { width: 0 }, '& .MuiSelect-select': { - width: 'auto', + textAlign: isRTL ? 'right' : 'left', paddingLeft: 0 } }}