From a73ab857810f653e502b61ba17b1a47cc6ab4ce0 Mon Sep 17 00:00:00 2001 From: make-github-pseudonymous-again <5165674+make-github-pseudonymous-again@users.noreply.github.com> Date: Mon, 6 Jan 2025 20:59:50 +0100 Subject: [PATCH] :lipstick: ui(``): Remove margin around textareas. --- imports/ui/consultations/ConsultationForm.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/imports/ui/consultations/ConsultationForm.tsx b/imports/ui/consultations/ConsultationForm.tsx index 9faa47f69..979c5bbd7 100644 --- a/imports/ui/consultations/ConsultationForm.tsx +++ b/imports/ui/consultations/ConsultationForm.tsx @@ -50,10 +50,9 @@ const StyledPaper = styled(Paper)(({theme}) => ({ padding: theme.spacing(3), })); -const TextArea = styled(TextField)(({theme}) => ({ - margin: theme.spacing(1), +const TextArea = styled(TextField)(() => ({ overflow: 'auto', - width: `calc(100% - ${theme.spacing(2)})`, + width: '100%', })); const defaultDate = '1970-01-01';