fix: prevent h5 chat input toolbar overlap

main
sp mac bookpro 2605 2026-06-12 13:26:42 +08:00
parent c0c489d443
commit 780ce6edba
1 changed files with 13 additions and 3 deletions

View File

@ -714,18 +714,21 @@ body {
} }
.chat-input-toolbar { .chat-input-toolbar {
flex-wrap: wrap; flex-direction: column;
align-items: stretch;
gap: 0.5rem; gap: 0.5rem;
} }
.chat-input-toolbar-left { .chat-input-toolbar-left {
flex-wrap: wrap;
gap: 0.5rem; gap: 0.5rem;
flex: 1 1 auto; flex: 1 1 auto;
min-width: 0; min-width: 0;
} }
.chat-input-toolbar .chat-send-button { .chat-input-toolbar .chat-send-button {
margin-left: auto; margin-left: 0;
align-self: flex-end;
} }
.chat-model-select .ant-select-selector { .chat-model-select .ant-select-selector {
@ -733,7 +736,14 @@ body {
} }
.chat-model-select .ant-select-selection-item { .chat-model-select .ant-select-selection-item {
max-width: 10rem; max-width: 9rem;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.chat-model-select .ant-select-selection-placeholder {
max-width: 9rem;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;