Улучшение интерфейса дайджеста на дашборде: перенос ссылки 'Все сообщения' в заголовок карточки и правка стилей

This commit is contained in:
dev
2026-11-05 16:51:13 +03:00
parent e74926c4c0
commit 1bbe8833b9
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -712,7 +712,7 @@ body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;b
.dash-empty{color:var(--muted);font-size:.82rem;padding:8px 0}
.dash-link-row{margin-top:2px;text-align:right}
.dash-link-row a{color:var(--accent);text-decoration:none;font-size:.8rem;font-weight:600}
.dash-link-row a:hover{text-decoration:underline}
.dash-link-row a:hover{text-decoration:none}
.chart{display:flex;align-items:flex-end;gap:6px;height:150px}
.bar-col{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:6px;min-width:0}
.bar{width:100%;max-width:28px;background:var(--accent);opacity:.35;border-radius:4px 4px 0 0;min-height:2px;transition:opacity .15s}
+2 -3
View File
@@ -22,7 +22,7 @@
.post-task-actions { display:flex; gap:6px; flex-wrap:wrap; margin-top:8px; }
.post-task-actions .btn-xs { padding:4px 10px; font-size:12px; }
.digest-dash-item { border:1px solid var(--border); border-radius:10px; padding:10px 12px; margin-bottom:8px; background:var(--card); display:flex; gap:10px; align-items:flex-start; }
.digest-dash-preview { width:70px; height:55px; object-fit:cover; border:1px solid var(--border); border-radius:6px; flex-shrink:0; margin-top:2px; }
.digest-dash-preview { width:70px; height:55px; object-fit:cover; border:1px solid var(--border); border-radius:6px; flex-shrink:0; margin-top:2px; margin-left:auto; }
.digest-dash-main { flex:1; min-width:0; display:flex; flex-direction:column; gap:6px; }
.digest-dash-title { font-weight:600; font-size:.92rem; margin:0; word-break:break-word; }
.digest-dash-text { font-size:.86rem; line-height:1.5; color:var(--text); margin:0; word-break:break-word; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
@@ -77,9 +77,8 @@
<div class="dash-col">
<div class="dash-card">
<h3><span class="ic"><i data-lucide="newspaper"></i></span> Дайджест</h3>
<h3><span class="ic"><i data-lucide="newspaper"></i></span> Дайджест <a href="digest.html" class="btn-xs" style="margin-left:auto" title="Все сообщения"><i data-lucide="external-link"></i></a></h3>
<div class="digest-dash-list" id="dashDigest"></div>
<div class="dash-link-row"><a href="digest.html">Все сообщения →</a></div>
</div>
<div class="dash-card">
<h3><span class="ic"><i data-lucide="activity"></i></span> Активные сейчас группы</h3>