From b261d2750c4ea59e4b8c8d72c41e6ea16b21fa07 Mon Sep 17 00:00:00 2001 From: yuyx <237899745@qq.com> Date: Tue, 17 Feb 2026 22:39:19 +0800 Subject: [PATCH] fix: unify share/direct link click and copy actions --- frontend/app.html | 84 ++++++++++++++++++++++++++++++++++++----------- 1 file changed, 65 insertions(+), 19 deletions(-) diff --git a/frontend/app.html b/frontend/app.html index a323c7d..e1cefaa 100644 --- a/frontend/app.html +++ b/frontend/app.html @@ -1575,6 +1575,33 @@ padding: 8px 12px; font-size: 13px; } + .share-card__url-link { + color: var(--accent-1); + word-break: break-all; + user-select: text; + cursor: text; + text-decoration: none; + } + .share-list-link-text { + color: #667eea; + display: block; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + user-select: text; + cursor: text; + } + .share-list-actions { + display: inline-flex; + align-items: center; + justify-content: center; + gap: 6px; + flex-wrap: wrap; + } + .share-list-actions .btn { + padding: 6px 10px; + font-size: 12px; + } .share-toolbar { display: flex; gap: 10px; @@ -1720,6 +1747,14 @@ flex: 1; min-width: 108px; } + .share-list-actions { + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + width: 100%; + } + .share-list-actions .btn { + width: 100%; + } .share-success-actions { flex-direction: column; } @@ -2971,7 +3006,7 @@