feat(카페24): 이미지 미리보기 시 태그 오렌지 표시·레이어 상단 파일명

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-03 15:38:54 +09:00
parent 6b04b7ab6e
commit faed6581fd
3 changed files with 42 additions and 9 deletions
+15 -1
View File
@@ -469,6 +469,7 @@
/* 색칠 층 안에서 <img> 태그만 마우스 판정을 받는다(미리보기용). 평소에는 위의 textarea 가 가린다. */
.cf24-t-img { pointer-events: auto; }
.cf24-t-img-on { background: #ffa500; }
/* 마우스를 통과시킨다 — 미리보기가 소스를 덮어도 hover 가 끊기지 않게. */
.cf24-img-preview {
@@ -483,10 +484,23 @@
pointer-events: none;
}
/* 한 줄 고정 높이 — 아래 이미지 높이가 이 값을 뺀 만큼이다. */
.cf24-img-preview-name {
box-sizing: border-box;
height: 40px;
padding: 0 12px;
font-size: 16px;
font-weight: 700;
line-height: 40px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.cf24-img-preview img {
display: block;
width: 100%;
height: 100vh;
height: calc(100vh - 40px);
object-fit: contain;
}