From 8e35ae7ce48473493cf36a7d4884d05ec7136175 Mon Sep 17 00:00:00 2001 From: cje Date: Sat, 24 Feb 2024 12:53:53 +0900 Subject: [PATCH] =?UTF-8?q?[Fix/BAR-260]=20EditInput=20=EC=B4=88=EA=B8=B0?= =?UTF-8?q?=20rows=20=EA=B0=92=20=EC=88=98=EC=A0=95=20(#86)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * style(Tooltip): 간격 및 화살표 위치 수정 * style: 긴 단어인 경우, width에 따라 강제 줄바꿈 * fix(Modal): 수정 사항 없는 경우, 저장하기 버튼 비활성화 * fix(MakeFolderModal): 저장하기 버튼을 눌렀을 때만 폴더명 유효성 검사 트리거되도록 수정 * fix(EditInput): 초기 rows 값 수정 --- src/components/Card/style.css.ts | 4 ++-- src/components/Modal/modals/EditFolder.tsx | 4 ++-- src/components/Modal/modals/MakeFolder.tsx | 3 +-- src/components/Modal/style.css.ts | 9 +++++---- src/components/Tooltip/style.css.ts | 11 +++++------ src/domain/landing/style.css.ts | 2 +- .../components/EditInput.tsx" | 2 +- .../components/editInput.css.ts" | 2 +- 8 files changed, 18 insertions(+), 19 deletions(-) diff --git a/src/components/Card/style.css.ts b/src/components/Card/style.css.ts index 55fffe0b..a79f0c9a 100644 --- a/src/components/Card/style.css.ts +++ b/src/components/Card/style.css.ts @@ -60,7 +60,7 @@ export const header = style([ display: 'flex', gap: '8px', color: COLORS['Grey/400'], - wordBreak: 'keep-all', + wordBreak: 'break-all', }, ]); @@ -68,7 +68,7 @@ export const body = style([ sprinkles({ typography: '15/Body/Regular' }), { whiteSpace: 'pre-wrap', - wordBreak: 'keep-all', + wordBreak: 'break-all', }, ]); diff --git a/src/components/Modal/modals/EditFolder.tsx b/src/components/Modal/modals/EditFolder.tsx index 162fc896..6b2c56a3 100644 --- a/src/components/Modal/modals/EditFolder.tsx +++ b/src/components/Modal/modals/EditFolder.tsx @@ -89,8 +89,8 @@ const EditFolder = () => { 취소