perf: 이미지 미리보기를 축소 썸네일로 전환

- 원본 대신 400px 썸네일을 렌더해 디코딩/메모리 부담 감소
- 중복 파일은 추가하지 않고 안내
- 이미지 개수 카운터(n/100) 표시
- objectURL 해제 누락 지점 보완
This commit is contained in:
skkim committed 2026-08-12 10:58:13 +09:00
1 parent 23938871b0
commit 1cdb47ec2e
9 files changed
+314 -51

No files matched your search

+38
View File
@@ -1098,6 +1098,20 @@
letter-spacing: -0.006em;
}
.asset-section-count {
font-size: 0.875rem;
font-weight: 600;
color: #9BCACC;
line-height: 1.19;
letter-spacing: -0.006em;
font-variant-numeric: tabular-nums;
}
/* 업로드 상한(100장)을 넘긴 상태. 추가 자체는 막지 않고 시각적으로만 경고한다. */
.asset-section-count-over {
color: #fca5a5;
}
/* Asset Section Title */
.asset-section-title {
font-size: 1.5rem;
@@ -1200,6 +1214,30 @@
object-fit: cover;
}
.asset-image-placeholder {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 6px;
padding: 8px;
background-color: #001416;
color: #379599;
text-align: center;
}
.asset-image-placeholder-name {
width: 100%;
font-size: 0.6875rem;
line-height: 1.2;
color: #9BCACC;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.asset-image-badge {
position: absolute;
top: 8px;