From acf0e4153dc751e30992f6b957448fd7a9f27fbc Mon Sep 17 00:00:00 2001 From: devleejb Date: Thu, 1 Feb 2024 18:44:16 +0900 Subject: [PATCH] Add default height to intelligence --- .../editor/YorkieIntelligenceFeature.tsx | 25 +++++++++++-------- .../editor/YorkieIntelligenceFooter.tsx | 2 -- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/frontend/src/components/editor/YorkieIntelligenceFeature.tsx b/frontend/src/components/editor/YorkieIntelligenceFeature.tsx index 9f2fea27..c04ee28b 100644 --- a/frontend/src/components/editor/YorkieIntelligenceFeature.tsx +++ b/frontend/src/components/editor/YorkieIntelligenceFeature.tsx @@ -2,6 +2,7 @@ import { Box, Button, CircularProgress, + Fade, FormControl, IconButton, InputAdornment, @@ -143,19 +144,19 @@ function YorkieIntelligenceFeature(props: YorkieIntelligenceFeatureProps) { {title} {isLoading && } - {!isLoading && ( - + + {!isLoading && ( - - )} + )} + - {isComplete && ( + - )} + ), endAdornment: ( - - - - - + + + + + + + ), }} /> diff --git a/frontend/src/components/editor/YorkieIntelligenceFooter.tsx b/frontend/src/components/editor/YorkieIntelligenceFooter.tsx index a8a3027d..8dec43bc 100644 --- a/frontend/src/components/editor/YorkieIntelligenceFooter.tsx +++ b/frontend/src/components/editor/YorkieIntelligenceFooter.tsx @@ -71,8 +71,6 @@ function YorkieIntelligenceFooter(props: YorkieIntelligenceFooterProps) { horizontal: "left", }} onClose={handleCloseModalOpen} - disableScrollLock - disablePortal >