From eb75a90534e4709f4056947bdd1d01fc939b4c84 Mon Sep 17 00:00:00 2001 From: MahtabBukhari Date: Thu, 15 Aug 2024 00:38:14 +0500 Subject: [PATCH] fix(padding-setting): adjust padding on ai-chat box --- src/components/App/UniverseQuestion/index.tsx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/components/App/UniverseQuestion/index.tsx b/src/components/App/UniverseQuestion/index.tsx index 1888b6797..980eb6b35 100644 --- a/src/components/App/UniverseQuestion/index.tsx +++ b/src/components/App/UniverseQuestion/index.tsx @@ -128,7 +128,7 @@ const StyledTextarea = styled(TextareaAutosize).attrs({ max-width: 700px; width: 700px; color: ${colors.white}; - padding: 15px; + padding: 0 16px 0 16px; overflow-y: auto !important; border: none; resize: none; @@ -195,22 +195,21 @@ const Wrapper = styled(Flex)` const StyledButton = styled(Button)` && { position: absolute; - bottom: 12px; - right: 14px; + bottom: 16px; + right: 16px; height: 32px; border-radius: 16px; min-width: 32px; - padding: 2px; } &&.MuiButton-root { - padding: 10px; + padding: 0 10px 0 12px; } svg { margin-top: 1px; - width: 12px; - height: 12px; + width: 11px; + height: 11px; } `