From d5c5da0ed66a7980a77607135942d5818dd2f992 Mon Sep 17 00:00:00 2001 From: "bottlenote-app[bot]" <289617182+bottlenote-app[bot]@users.noreply.github.com> Date: Wed, 8 Jul 2026 22:57:51 +0900 Subject: [PATCH] fix: prevent curation hidden inputs from expanding page scroll --- .../curation/components/CurationWhiskyCardListField.tsx | 2 +- .../whisky-curation/components/WhiskyPairingFields.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/curation/components/CurationWhiskyCardListField.tsx b/src/pages/curation/components/CurationWhiskyCardListField.tsx index b23c00d..ed07fb8 100644 --- a/src/pages/curation/components/CurationWhiskyCardListField.tsx +++ b/src/pages/curation/components/CurationWhiskyCardListField.tsx @@ -627,7 +627,7 @@ export function CurationWhiskyCardListField({ id={`${field.id}-manual-whisky-image`} type="file" accept={MANUAL_WHISKY_IMAGE_ACCEPT} - className="sr-only" + className="hidden" aria-label={`${manualFieldPrefix} 이미지 파일 선택`} onChange={(event) => void handleManualWhiskyImageChange(field.id, index, event) diff --git a/src/pages/curation/whisky-curation/components/WhiskyPairingFields.tsx b/src/pages/curation/whisky-curation/components/WhiskyPairingFields.tsx index 36f38d3..c36eaa3 100644 --- a/src/pages/curation/whisky-curation/components/WhiskyPairingFields.tsx +++ b/src/pages/curation/whisky-curation/components/WhiskyPairingFields.tsx @@ -319,7 +319,7 @@ export function WhiskyPairingFields({ id={imageInputId} type="file" accept={PAIRING_IMAGE_ACCEPT} - className="sr-only" + className="hidden" aria-label={`${index + 1}번 위스키 ${pairingIndex + 1}번 페어링 음식 이미지 파일 선택`} onChange={(event) => void handlePairingImageChange(pairingIndex, event)} disabled={isImageUploading} @@ -375,7 +375,7 @@ export function WhiskyPairingFields({