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

View File

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