diff --git a/cortex/static/style.css b/cortex/static/style.css index 1ae1ac8..d02af45 100644 --- a/cortex/static/style.css +++ b/cortex/static/style.css @@ -182,21 +182,25 @@ color: var(--muted); font-size: 1.1rem; line-height: 1; - padding: 2px 4px; + padding: 2px 6px; cursor: pointer; border-radius: 3px; flex-shrink: 0; - margin-left: 4px; - opacity: 0; - transition: opacity 0.15s, color 0.15s; + transition: color 0.15s; + min-width: 28px; + text-align: center; } - .session-item:hover .session-delete-btn { opacity: 1; } .session-delete-btn:hover { color: #e06c75; } .session-id { font-family: monospace; font-size: 0.85rem; color: var(--text); + flex: 1; + min-width: 0; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } .session-meta { @@ -1061,7 +1065,6 @@ } .session-delete-btn { - opacity: 1; font-size: 1.3rem; padding: 4px 8px; min-width: 36px;