дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-08 19:02:17 +02:00
fix(agents): keep session header controls inside a narrow conversation column (#1540)
The meters were fixed-width and the header didn't clip, so in a narrow conversation the stop, terminal and changes buttons spilled over the Changes pane. The title now shrinks first, meters that don't fit drop out whole, and the buttons keep their size.
Цей коміт міститься в:
1 джерело
c3b7e34b22
коміт
d3d0fd23c6
1 file changed
+15
-3
@@ -46,9 +46,14 @@
|
||||
border-bottom: 1px solid var(--border);
|
||||
flex: none;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
.header > * {
|
||||
flex: none;
|
||||
}
|
||||
/* Shrinks ahead of the meters. */
|
||||
.title {
|
||||
flex: 0 1 auto;
|
||||
flex: 0 1000 auto;
|
||||
min-width: 0;
|
||||
font-weight: 600;
|
||||
color: var(--fg-strong);
|
||||
@@ -539,11 +544,17 @@
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Meters that don't fit wrap onto a hidden second row instead of being cut in half. */
|
||||
.meters {
|
||||
flex: none;
|
||||
flex: 0 1 auto;
|
||||
min-width: 0;
|
||||
height: 22px;
|
||||
overflow: hidden;
|
||||
display: inline-flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
align-content: flex-start;
|
||||
gap: 0 10px;
|
||||
color: var(--fg-subtle);
|
||||
font-size: var(--fs-small);
|
||||
font-variant-numeric: tabular-nums;
|
||||
@@ -552,6 +563,7 @@
|
||||
.meter {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
height: 22px;
|
||||
gap: 5px;
|
||||
}
|
||||
.usageBar {
|
||||
|
||||
Reference in new issue
Заблокувати користувача