From e6702cef732e7c000274794c86bed58c88c91d0a Mon Sep 17 00:00:00 2001 From: Arthur Molinos Date: Tue, 17 Dec 2024 17:09:12 +0100 Subject: [PATCH] =?UTF-8?q?Augmente=20le=20contraste=20des=20=C3=A9tapes?= =?UTF-8?q?=20en=20mode=20visite?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PlansActions/FicheAction/etapes/etape/textarea.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app.territoiresentransitions.react/src/app/pages/collectivite/PlansActions/FicheAction/etapes/etape/textarea.tsx b/app.territoiresentransitions.react/src/app/pages/collectivite/PlansActions/FicheAction/etapes/etape/textarea.tsx index c0ab4798a0e..42978ff8370 100644 --- a/app.territoiresentransitions.react/src/app/pages/collectivite/PlansActions/FicheAction/etapes/etape/textarea.tsx +++ b/app.territoiresentransitions.react/src/app/pages/collectivite/PlansActions/FicheAction/etapes/etape/textarea.tsx @@ -35,6 +35,7 @@ export const Textarea = forwardRef( className={classNames( 'ml-1 !p-0 font-medium !text-base text-grey-8 placeholder:!font-normal placeholder:!text-base placeholder:!italic', { + '!text-grey-8': disabled && !realise, 'line-through !text-grey-6': realise, } )} @@ -62,3 +63,5 @@ export const Textarea = forwardRef( ); } ); + +Textarea.displayName = 'Textarea';