Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FE]: 날짜를 선택할 수 있는 캘린더 UI 구현 #68

Merged
merged 12 commits into from
Jul 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions frontend/src/components/_common/Calendar/Calendar.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const s_calendarContainer = css`

export const s_calendarContent = css`
display: grid;
grid-auto-rows: 40px;
grid-auto-rows: 4rem;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍👍👍 💯💯💯

grid-template-columns: repeat(7, 1fr);
width: 100%;
`;
Expand All @@ -23,9 +23,9 @@ export const s_dayOfWeek = css`
justify-content: center;

width: 100%;
min-width: 40px;
height: 40px;
min-height: 40px;
min-width: 4rem;
height: 4rem;
min-height: 4rem;

font-size: 1.2rem;
font-weight: normal;
Expand All @@ -38,8 +38,8 @@ export const s_monthHeader = css`
justify-content: space-between;

width: 100%;
margin-bottom: 20px;
padding: 0 10px;
margin-bottom: 2rem;
padding: 0 1rem;

font-size: 1.5rem;
font-weight: bold;
Expand All @@ -55,8 +55,8 @@ export const s_daySlotButton = css`
justify-content: center;

width: 100%;
min-width: 36px;
height: 36px;
min-width: 3.6rem;
height: 3.6rem;

background-color: transparent;
border: none;
Expand All @@ -75,8 +75,8 @@ export const s_selectedDaySlot = (isSelected: boolean) => css`
align-items: center;
justify-content: center;

width: 36px;
height: 36px;
width: 3.6rem;
height: 3.6rem;

${isSelected &&
css`
Expand Down