Skip to content

Commit

Permalink
fix: 스타일 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene028 committed Aug 28, 2024
1 parent 9b3a258 commit bbd11af
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
3 changes: 3 additions & 0 deletions apps/admin/app/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ body {
flex-direction: row;
min-height: 100vh;
}
::-webkit-scrollbar {
display: none;
}
2 changes: 1 addition & 1 deletion apps/admin/app/studies/[studyId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Header from "./_components/header/Header";
const StudyPage = ({ params }: { params: { studyId: string } }) => {
const { studyId } = params;
return (
<Flex direction="column" gap="64px" overflow="scroll" scrollbarWidth="none">
<Flex direction="column" gap="64px">
<Header studyId={studyId} />
<CheckAttendanceNumber />
<Divider style={MinHeightFullDividerStyle} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,4 @@ const CurriculumTimelineStyle = css({
alignItems: "center",
padding: "xs",
gap: "xs",
borderRight: "1px solid",
borderColor: "outline",
});
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ const StudyInfoBox = ({
return (
<section aria-label="create-detailInfo-box" className={StudyInfoBoxStyle}>
<div className={StudyInfoBoxWeekStyle}>{week}주차</div>
<Flex width="100%">
<Flex maxHeight={41} width="100%">
<StudyTimeLine period={period} />
<div className={VerticalSectionStyle} />
<StudyInfoStatus index={index} />
</Flex>
<StudyInfoDifficulty index={index} />
Expand Down Expand Up @@ -62,3 +63,9 @@ const StudyInfoBoxWeekStyle = css({
alignItems: "center",
padding: "xs",
});

const VerticalSectionStyle = css({
width: "1px",
height: "41px",
backgroundColor: "outline",
});
7 changes: 6 additions & 1 deletion apps/admin/app/studies/detail-info/[studyId]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@ const StudyDetailInfoLayout = ({
modal: React.ReactNode;
}>) => {
return (
<main>
<main style={MainLayoutStyle}>
{children}
{modal}
</main>
);
};

export default StudyDetailInfoLayout;

const MainLayoutStyle = {
height: "100vh",
overflow: "auto",
};

0 comments on commit bbd11af

Please sign in to comment.