fix: the question window as wide as its words

This commit is contained in:
redtea committed 2026-10-16 09:54:13 +03:00
1 parent 0c44ef006d
commit 458d826de6
1 file changed
+1 -1
+1 -1
View File
@@ -866,7 +866,7 @@ body.touch.term-active .ai-fab { bottom:104px; }
} }
.ai-send { width:40px; height:40px; padding:0; flex:none; display:inline-flex; align-items:center; justify-content:center; border-radius:8px; } .ai-send { width:40px; height:40px; padding:0; flex:none; display:inline-flex; align-items:center; justify-content:center; border-radius:8px; }
/* The panel's own confirm and prompt. */ /* The panel's own confirm and prompt. */
dialog.uidlg { width:auto; min-width:min(320px, 92vw); max-width:min(560px, 92vw); } dialog.uidlg { width:fit-content; min-width:min(300px, 92vw); max-width:min(560px, 92vw); }
.uidlg form { padding:18px; display:grid; gap:14px; } .uidlg form { padding:18px; display:grid; gap:14px; }
.uidlg .ui-text { margin:0; white-space:pre-wrap; line-height:1.45; } .uidlg .ui-text { margin:0; white-space:pre-wrap; line-height:1.45; }
.uidlg form > * { min-width:0; } .uidlg form > * { min-width:0; }