generated from ttipo/project-base
fix: 업체 링크 표의 '업체에 줄 링크' 칸 줄 맞춤
이동 주소 줄의 .mgm-url(inline-block, vertical-align: bottom)이 .mgm-cell-sub 의 display:block 을 덮어써, 이동 주소가 복사 버튼 옆에 붙고 글꼴·버튼 여백 차이로 높이가 어긋났다. 1줄(링크 + 복사, 가운데 정렬) / 2줄(이동 주소, 길면 말줄임) 구조로 나눠 왼쪽 업체·상품 줄과 맞춘다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -243,7 +243,11 @@
|
||||
|
||||
/* 업체 링크 칸 */
|
||||
#mg-members .mgm-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
|
||||
#mg-members .mgm-url { display: inline-block; max-width: 300px; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
|
||||
/* 업체에 줄 링크 칸 — 1줄: 링크 + 복사(가운데 정렬), 2줄: 이동 주소(길면 말줄임) */
|
||||
#mg-members .mgm-linkcell { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
|
||||
#mg-members .mgm-linkcell-top { display: flex; align-items: center; gap: 6px; }
|
||||
#mg-members .mgm-linkcell-top .mgm-link { padding: 0 4px; line-height: 18px; }
|
||||
#mg-members .mgm-url { display: block; max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--mgm-muted); }
|
||||
#mg-members .mgm-linkbox { display: flex; gap: 6px; }
|
||||
#mg-members .mgm-linkbox input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; background: var(--mgm-bg); }
|
||||
|
||||
@@ -1889,8 +1893,11 @@
|
||||
return '<tr data-link-row="' + esc(l.id) + '"' + (l.id === state.ptn.conv.linkId ? ' class="is-selected"' : '') + '>' +
|
||||
'<td class="mgm-wrap"><span class="mgm-cell-main">' + esc(l.partner.name) + '</span>' +
|
||||
'<span class="mgm-cell-sub">' + (l.product.name ? esc(l.product.name) : '아임웹에서 지운 상품') + ' · #' + esc(l.product.prodNo) + '</span></td>' +
|
||||
'<td><span class="mgm-code">' + esc(l.shortUrl) + '</span> <button type="button" class="mgm-link mgm-sm" data-ptn-copy="' + esc(l.shortUrl) + '">복사</button>' +
|
||||
'<span class="mgm-cell-sub mgm-url" title="' + esc(l.targetUrl) + '">→ ' + esc(l.targetUrl) + '</span></td>' +
|
||||
'<td><div class="mgm-linkcell">' +
|
||||
'<div class="mgm-linkcell-top"><span class="mgm-code">' + esc(l.shortUrl) + '</span>' +
|
||||
'<button type="button" class="mgm-link mgm-sm" data-ptn-copy="' + esc(l.shortUrl) + '">복사</button></div>' +
|
||||
'<span class="mgm-url" title="이동할 상품 페이지: ' + esc(l.targetUrl) + '">→ ' + esc(l.targetUrl) + '</span>' +
|
||||
'</div></td>' +
|
||||
'<td class="mgm-r">' + num(l.stats.clickCount) + '</td>' +
|
||||
'<td class="mgm-r"><b>' + num(l.stats.applicationCount) + '</b></td>' +
|
||||
'<td class="mgm-r"><b>' + num(l.stats.purchaseCount) + '</b></td>' +
|
||||
|
||||
Reference in New Issue
Block a user