Skip to content

Commit 4b7a048

Browse files
authored
Merge pull request #176 from Podo-Store/fix/safari-svg-blurring
fix: FileInputBox svg -> object로 변경
2 parents d588a4c + f6892c2 commit 4b7a048

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/file/FileInputBox.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,10 @@ const FileInputBox = ({ title, infoText = "", onFileUpload, style, titleStyle })
120120
</div>
121121
) : (
122122
<div>
123-
<img src={download} alt="download" />
123+
{/* pointer-events: none; - 안해주면 해당 구역 클릭 불가 (보다 상위에 렌더링됨)*/}
124+
<object data={download} style={{ pointerEvents: "none" }}>
125+
download
126+
</object>
124127
<p id="pdf">PDF</p>
125128
<p id="find">내 PC에서 찾기</p>
126129
</div>

0 commit comments

Comments
 (0)