From e685bb854f99bb2243d700c4b804148e197d19ba Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 13 Aug 2024 15:47:41 +0900 Subject: [PATCH] =?UTF-8?q?fix-fe:=20=EB=8C=80=EC=8B=9C=EB=B3=B4=EB=93=9C?= =?UTF-8?q?=20=EC=82=AC=EC=9D=B4=EB=93=9C=20=EB=B0=94=20=EA=B3=B5=EA=B3=A0?= =?UTF-8?q?=20=EC=A0=95=EB=A0=AC=20=EC=88=98=EC=A0=95=20(#410)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Kim Da Eun --- frontend/src/components/common/Accordion/style.ts | 2 +- .../src/components/dashboard/DashboardSidebar/style.ts | 10 +++++++++- frontend/src/mocks/dashboardList.json | 2 +- frontend/src/mocks/processMockData.json | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/common/Accordion/style.ts b/frontend/src/components/common/Accordion/style.ts index 6c6c8acb1..ee4b534e7 100644 --- a/frontend/src/components/common/Accordion/style.ts +++ b/frontend/src/components/common/Accordion/style.ts @@ -36,7 +36,7 @@ const List = styled.ul` display: flex; flex-direction: column; gap: 0.4rem; - padding: 0 0 0 0.8rem; + padding: 0 0.8rem; `; const ListItem = styled.li` diff --git a/frontend/src/components/dashboard/DashboardSidebar/style.ts b/frontend/src/components/dashboard/DashboardSidebar/style.ts index 94d634d07..28951cf20 100644 --- a/frontend/src/components/dashboard/DashboardSidebar/style.ts +++ b/frontend/src/components/dashboard/DashboardSidebar/style.ts @@ -25,13 +25,21 @@ const Contents = styled.nav` gap: 1.4rem; `; -const LinkContainer = styled.button<{ isSelected: boolean }>` +const LinkContainer = styled.div<{ isSelected: boolean }>` ${({ theme }) => theme.typography.common.block} color: ${({ theme, isSelected }) => (isSelected ? theme.colors.brand.primary : theme.colors.text.default)}; margin-bottom: 0; + display: flex; + align-items: flex-start; + + & > button > a { + text-align: start; + } + &::before { content: '•'; + display: block; width: 1rem; aspect-ratio: 1/1; margin: 0 0.8rem; diff --git a/frontend/src/mocks/dashboardList.json b/frontend/src/mocks/dashboardList.json index 325c3c939..8b2e7857a 100644 --- a/frontend/src/mocks/dashboardList.json +++ b/frontend/src/mocks/dashboardList.json @@ -3,7 +3,7 @@ "dashboards": [ { "dashboardId": "1", - "title": "프론트엔드 7기 모집", + "title": "우아한테크코스 프론트엔드 크루 모집", "stats": { "accept": 3, "fail": 3, diff --git a/frontend/src/mocks/processMockData.json b/frontend/src/mocks/processMockData.json index c012b0015..a6ec7ac9c 100644 --- a/frontend/src/mocks/processMockData.json +++ b/frontend/src/mocks/processMockData.json @@ -1,5 +1,5 @@ { - "title": "프론트엔드 7기 모집", + "title": "우아한테크코스 프론트엔드 크루 모집", "postUrl": "https://www.cruru.kr/post/1", "processes": [ {