fix: neutral delete button style, stack input above buttons on mobile

This commit is contained in:
Clawdbot 2026-01-29 17:18:23 +01:00
parent ee9c88e9ac
commit 4015f35ecb
2 changed files with 6 additions and 2 deletions

View File

@ -1370,14 +1370,18 @@
} }
@media (max-width: 480px) { @media (max-width: 480px) {
.chat-compose__row {
flex-direction: column;
}
.chat-compose__actions { .chat-compose__actions {
gap: 4px; gap: 4px;
justify-content: flex-end;
} }
.chat-compose__actions .btn { .chat-compose__actions .btn {
padding: 4px 8px; padding: 4px 8px;
font-size: 13px; font-size: 13px;
flex-shrink: 0;
} }
.chat-compose__actions .btn-kbd { .chat-compose__actions .btn-kbd {

View File

@ -367,7 +367,7 @@ export function renderChat(props: ChatProps) {
${props.onDelete ${props.onDelete
? html` ? html`
<button <button
class="btn danger" class="btn"
?disabled=${!props.connected || isBusy || props.isMainSession} ?disabled=${!props.connected || isBusy || props.isMainSession}
@click=${() => { @click=${() => {
if (confirm(`Delete session "${props.sessionKey}"?`)) { if (confirm(`Delete session "${props.sessionKey}"?`)) {