|
319 | 319 | font-display: swap; |
320 | 320 | } |
321 | 321 |
|
322 | | -.custom-datepicker-popper { |
323 | | - transform: translateX(-10px) !important; |
324 | | - transform: translateY(50px) !important; |
325 | | -} |
326 | | - |
327 | 322 | /* 스크롤바 숨기기용 유틸리티 */ |
328 | 323 | .scrollbar-hidden { |
329 | 324 | -ms-overflow-style: none; /* IE & Edge */ |
|
332 | 327 | .scrollbar-hidden::-webkit-scrollbar { |
333 | 328 | display: none; /* Chrome, Safari */ |
334 | 329 | } |
| 330 | + |
| 331 | +.custom-datepicker-popper { |
| 332 | + transform: translateX(-10px) !important; |
| 333 | + transform: translateY(50px) !important; |
| 334 | +} |
| 335 | + |
| 336 | +@media (max-width: 640px) { |
| 337 | + .custom-datepicker-popper { |
| 338 | + font-size: 8px !important; |
| 339 | + } |
| 340 | + |
| 341 | + /*시간 선택 컨테이너 폭 조절 */ |
| 342 | + .custom-datepicker-popper .react-datepicker__time-container { |
| 343 | + width: 45px !important; |
| 344 | + } |
| 345 | + |
| 346 | + /* 시간 리스트 영역 크기와 정렬 보정 */ |
| 347 | + .custom-datepicker-popper .react-datepicker__time { |
| 348 | + width: 50px !important; |
| 349 | + } |
| 350 | + |
| 351 | + .custom-datepicker-popper .react-datepicker__time-box { |
| 352 | + width: 100% !important; |
| 353 | + } |
| 354 | + |
| 355 | + .custom-datepicker-popper .react-datepicker__time-list { |
| 356 | + padding: 2px !important; |
| 357 | + line-height: 1.2 !important; |
| 358 | + width: 100% !important; |
| 359 | + text-align: left !important; |
| 360 | + } |
| 361 | + |
| 362 | + .custom-datepicker-popper .react-datepicker__time-list-item { |
| 363 | + font-size: 10px !important; |
| 364 | + padding: 2px 4px !important; |
| 365 | + height: auto !important; |
| 366 | + word-break: keep-all !important; |
| 367 | + } |
| 368 | + |
| 369 | + /*선택된 항목도 작게 & 잘림 방지 */ |
| 370 | + .custom-datepicker-popper .react-datepicker__time-list-item--selected { |
| 371 | + font-size: 8px !important; |
| 372 | + padding: 2px 4px !important; |
| 373 | + border-radius: 4px !important; |
| 374 | + } |
| 375 | +} |
0 commit comments