|
338 | 338 | font-size: 8px !important; |
339 | 339 | } |
340 | 340 |
|
341 | | - /*시간 선택 컨테이너 폭 조절 */ |
| 341 | + /*시간 선택 컨테이너 폭 줄이기 */ |
342 | 342 | .custom-datepicker-popper .react-datepicker__time-container { |
343 | | - width: 45px !important; |
| 343 | + width: 45px !important; /* 기존: 45px */ |
344 | 344 | } |
345 | 345 |
|
346 | | - /* 시간 리스트 영역 크기와 정렬 보정 */ |
| 346 | + /*내부 time wrapper 폭 줄이기 */ |
347 | 347 | .custom-datepicker-popper .react-datepicker__time { |
348 | | - width: 50px !important; |
| 348 | + width: 45px !important; |
349 | 349 | } |
350 | 350 |
|
351 | 351 | .custom-datepicker-popper .react-datepicker__time-box { |
352 | 352 | width: 100% !important; |
353 | 353 | } |
354 | 354 |
|
| 355 | + /*리스트 padding/폭 조절 */ |
355 | 356 | .custom-datepicker-popper .react-datepicker__time-list { |
356 | 357 | padding: 2px !important; |
357 | 358 | line-height: 1.2 !important; |
358 | 359 | width: 100% !important; |
359 | | - text-align: left !important; |
| 360 | + text-align: center !important; |
360 | 361 | } |
361 | 362 |
|
362 | 363 | .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; |
365 | 366 | height: auto !important; |
366 | 367 | word-break: keep-all !important; |
| 368 | + box-sizing: border-box !important; |
367 | 369 | } |
368 | 370 |
|
369 | | - /*선택된 항목도 작게 & 잘림 방지 */ |
| 371 | + /*선택된 항목 스타일 안정화 */ |
370 | 372 | .custom-datepicker-popper .react-datepicker__time-list-item--selected { |
371 | 373 | font-size: 8px !important; |
372 | | - padding: 2px 4px !important; |
| 374 | + padding: 2px 2px !important; |
373 | 375 | border-radius: 4px !important; |
| 376 | + background-color: #216ba5 !important; |
| 377 | + color: white !important; |
| 378 | + box-sizing: border-box !important; |
| 379 | + overflow: hidden !important; |
374 | 380 | } |
375 | 381 | } |
0 commit comments