diff --git a/server.js b/server.js index f5b43d5..63cf2f2 100644 --- a/server.js +++ b/server.js @@ -142,14 +142,13 @@ app.get(['/widget.js', BASE + '/widget.js'], (req, res) => { .fb-btn:hover { opacity:.85; } .fb-btn:disabled { opacity:.4; cursor:default; } .fb-status { font-size:.8rem; text-align:center; min-height:1.1rem; } - .fb-issue-item { background:#0d0d0d; border:1px solid #222; border-radius:10px; padding:.9rem 1rem; } - .fb-issue-title { color:#e0e0e0; font-size:.9rem; font-weight:600; margin:0 0 .3rem; } - .fb-issue-meta { color:#555; font-size:.75rem; margin-bottom:.6rem; } - .fb-issue-body { color:#888; font-size:.8rem; margin-bottom:.7rem; white-space:pre-wrap; word-break:break-word; } - .fb-comment-area { display:flex; flex-direction:column; gap:.5rem; } - .fb-comment-input { min-height:55px; } - .fb-comment-btn { background:#2a2a2a; color:#ccc; font-size:.8rem; padding:.45rem .8rem; width:auto; align-self:flex-end; border-radius:6px; } - .fb-comment-btn:hover { background:#333; opacity:1; } + .fb-issue-link { display:flex; align-items:center; justify-content:space-between; gap:.5rem; + padding:.6rem .4rem; border-bottom:1px solid #1a1a1a; text-decoration:none; color:#e0e0e0; + font-size:.875rem; transition:color .15s; } + .fb-issue-link:last-child { border-bottom:none; } + .fb-issue-link:hover { color:#7c9ef5; } + .fb-issue-num { color:#555; font-size:.8rem; flex-shrink:0; } + .fb-issue-arrow { color:#444; font-size:.8rem; flex-shrink:0; } .fb-empty { color:#555; font-size:.85rem; text-align:center; padding:1.5rem 0; } .fb-loading { color:#555; font-size:.85rem; text-align:center; padding:1rem 0; } /* Picker row inside new-issue form */ @@ -382,34 +381,13 @@ app.get(['/widget.js', BASE + '/widget.js'], (req, res) => { if (!issues.length) { list.innerHTML = '
#\${issue.number} \${esc(issue.title)}
- - \${preview ? '' + esc(preview) + '
' : ''} -