web: give chat details a real back route
Opening a chat now pushes /chat/:id, so Android/browser Back returns to the chat list rather than the previous destination. The conversation header owns a compact Back to chats control matching the create pane, replacing the full-width Back to list row on phones.
This commit is contained in:
@@ -889,3 +889,11 @@
|
||||
.chat-question-error { color: var(--bad); font-size: 12px; }
|
||||
.chat-question-controls { display: flex; gap: 10px; }
|
||||
.chat-question-submit { padding: 6px 12px; }
|
||||
|
||||
/* The conversation's own compact Back control, matching the create pane. The
|
||||
narrow layout is where the chat list is covered; wide keeps the two panes. */
|
||||
.chat-bar-lead { display: flex; align-items: flex-start; gap: 8px; min-width: 0; flex: 1 1 auto; }
|
||||
.chat-back { display: none; }
|
||||
@media (max-width: 599px) {
|
||||
.chat-back { display: inline-flex; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user