mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 06:29:24 +08:00
Ship folder-based workspaces and data migration, daily practice, redesigned provider and model settings, and streaming conversation improvements. Synchronize README translations and document the archive/permanent-delete upgrade behavior in assets/releases/ver1-6-9.md. Reduce initial JavaScript by deduplicating English resources and loading animation features after hydration. Keep the existing route size budgets. Update regression fixtures and browser audits for scoped URLs and the new settings and learning interfaces.
67 lines
1.2 KiB
CSS
67 lines
1.2 KiB
CSS
.surface {
|
|
container: chat-composer / inline-size;
|
|
}
|
|
|
|
/* Use the actual composer width, including when a side panel is open. */
|
|
.toolbar {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
grid-template-areas: "context" "actions";
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.context {
|
|
grid-area: context;
|
|
display: flex;
|
|
min-width: 0;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.context > * {
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.actions {
|
|
grid-area: actions;
|
|
display: flex;
|
|
min-width: 0;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 6px;
|
|
}
|
|
|
|
/* Animated selector names must not displace the microphone or send button. */
|
|
.toolbar [data-toolbar-label] {
|
|
display: none;
|
|
}
|
|
|
|
@container chat-composer (min-width: 420px) {
|
|
.toolbar {
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
grid-template-areas: "context actions";
|
|
}
|
|
}
|
|
|
|
@container chat-composer (min-width: 600px) {
|
|
.toolbar [data-toolbar-label] {
|
|
display: inline-flex;
|
|
max-width: 140px;
|
|
}
|
|
|
|
.toolbar [data-toolbar-label] > span {
|
|
min-width: 0;
|
|
flex-shrink: 1;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.toolbar [data-toolbar-label] > span > span {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
}
|