Skip to content

Commit 573148d

Browse files
authored
[Style] 달력 팝업 CSS 수정
[Style] 달력 팝업 CSS 수정
2 parents 9bd0cf1 + d2340c8 commit 573148d

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

src/styles/globals.css

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -338,38 +338,44 @@
338338
font-size: 8px !important;
339339
}
340340

341-
/*시간 선택 컨테이너 폭 조절 */
341+
/*시간 선택 컨테이너 폭 줄이기 */
342342
.custom-datepicker-popper .react-datepicker__time-container {
343-
width: 45px !important;
343+
width: 45px !important; /* 기존: 45px */
344344
}
345345

346-
/* 시간 리스트 영역 크기와 정렬 보정 */
346+
/*내부 time wrapper 폭 줄이기 */
347347
.custom-datepicker-popper .react-datepicker__time {
348-
width: 50px !important;
348+
width: 45px !important;
349349
}
350350

351351
.custom-datepicker-popper .react-datepicker__time-box {
352352
width: 100% !important;
353353
}
354354

355+
/*리스트 padding/폭 조절 */
355356
.custom-datepicker-popper .react-datepicker__time-list {
356357
padding: 2px !important;
357358
line-height: 1.2 !important;
358359
width: 100% !important;
359-
text-align: left !important;
360+
text-align: center !important;
360361
}
361362

362363
.custom-datepicker-popper .react-datepicker__time-list-item {
363-
font-size: 10px !important;
364-
padding: 2px 4px !important;
364+
font-size: 9px !important;
365+
padding: 2px 2px !important;
365366
height: auto !important;
366367
word-break: keep-all !important;
368+
box-sizing: border-box !important;
367369
}
368370

369-
/*선택된 항목도 작게 & 잘림 방지 */
371+
/*선택된 항목 스타일 안정화 */
370372
.custom-datepicker-popper .react-datepicker__time-list-item--selected {
371373
font-size: 8px !important;
372-
padding: 2px 4px !important;
374+
padding: 2px 2px !important;
373375
border-radius: 4px !important;
376+
background-color: #216ba5 !important;
377+
color: white !important;
378+
box-sizing: border-box !important;
379+
overflow: hidden !important;
374380
}
375381
}

0 commit comments

Comments
 (0)