From 45a649f73d9378429a60876351926a3cd3ef8fbd Mon Sep 17 00:00:00 2001 From: Musale Martin Date: Tue, 28 Nov 2023 19:16:08 +0300 Subject: [PATCH] fix: set the text size for NewChat to a global default value (#2881) --- packages/mgt-chat/src/components/NewChat/NewChat.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/mgt-chat/src/components/NewChat/NewChat.tsx b/packages/mgt-chat/src/components/NewChat/NewChat.tsx index 5ea15c0e22..63133ec8e1 100644 --- a/packages/mgt-chat/src/components/NewChat/NewChat.tsx +++ b/packages/mgt-chat/src/components/NewChat/NewChat.tsx @@ -34,7 +34,13 @@ const useStyles = makeStyles({ display: 'flex', flexDirection: 'column', gridRowGap: '16px', - minWidth: '300px' + minWidth: '300px', + '& textarea': { + fontSize: 'var(--type-ramp-base-font-size)', + '::placeholder': { + fontSize: 'var(--type-ramp-base-font-size)' + } + } }, formButtons: { display: 'flex',