缩短手机输入提示并避免空输入框提示换行

This commit is contained in:
2026-10-30 13:35:42 +08:00
parent cfd3fb15cc
commit 767fca6a79
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -110,6 +110,7 @@ body { padding: 20px; height: 100vh; height: 100dvh; overflow: hidden; }
.human-system-message { margin: 8px 0; text-align: center; color: var(--muted); font-size: 12px; }
#input-text { flex: 1; min-width: 0; min-height: 38px; max-height: 170px; padding: 9px 1px; border: 0; background: transparent; color: var(--text); font-size: 1em; line-height: 1.6; resize: none; outline: none; }
#input-text::placeholder { color: var(--muted); }
#input-text:placeholder-shown { white-space: nowrap; overflow: hidden; }
#send-button { min-width: 66px; height: 38px; flex-shrink: 0; padding: 0 15px; border: 0; border-radius: 8px; background: var(--brand); color: white; font-size: 12px; font-weight: 600; }
#send-button:hover { background: var(--brand-hover); }
#send-button.stop { background: var(--danger); }