design: 스타일 수정

This commit is contained in:
jhynsoo 2024-07-17 13:31:47 +09:00
parent fbc49b7616
commit be9ad2b900
2 changed files with 49 additions and 55 deletions

View File

@ -26,9 +26,8 @@ export default function QuestionListPage() {
tutor={lecture.tutor} tutor={lecture.tutor}
isLive={lecture.isLive} isLive={lecture.isLive}
/> />
<div>
<MaxWidthLayout hasSideBar> <MaxWidthLayout hasSideBar>
<aside className={styles.aside}> <aside>
<SideBar title="바로가기"> <SideBar title="바로가기">
<SideLink path={'/'}>공지사항</SideLink> <SideLink path={'/'}>공지사항</SideLink>
<SideLink path={'/'}>Q&A</SideLink> <SideLink path={'/'}>Q&A</SideLink>
@ -62,7 +61,7 @@ export default function QuestionListPage() {
if (notice.noticeDate && notice.title) { if (notice.noticeDate && notice.title) {
return ( return (
<ArticleLink <ArticleLink
key={notice.noticeDate} key={`${notice.title}${notice.noticeDate}`}
title={notice.title} title={notice.title}
noticeDate={notice.noticeDate} noticeDate={notice.noticeDate}
/> />
@ -72,7 +71,6 @@ export default function QuestionListPage() {
</div> </div>
</main> </main>
</MaxWidthLayout> </MaxWidthLayout>
</div>
</> </>
); );
} }

View File

@ -1,7 +1,3 @@
/* .aside {
width: 100%;
} */
.title { .title {
display: flex; display: flex;
padding-left: 20px; padding-left: 20px;
@ -18,16 +14,16 @@
.button { .button {
display: flex; display: flex;
gap: 8px; gap: 8px;
padding: 12px; padding: 12px 16px;
background: var(--background); background: var(--background);
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
border-radius: 8px; border-radius: 8px;
text-align: center;
cursor: pointer; cursor: pointer;
} }
.buttonText { .buttonText {
font-family: inherit;
font-size: 16px; font-size: 16px;
line-height: 1; line-height: 1.4;
font-weight: 400px; font-weight: 700;
} }