Merge pull request #1360 from pikasTech/fix/1358-webui-session-tab-sizing
fix: keep workbench session tabs content-sized
This commit is contained in:
@@ -118,6 +118,7 @@ assertIncludes(appSource, "primaryAction.value === \"steer\"", "Composer primary
|
||||
assertIncludes(appSource, ":data-action=\"primaryAction\"", "Composer primary button must expose the active turn/steer/cancel action");
|
||||
assert.doesNotMatch(appSource, /取消运行中 Trace/u, "Workbench must not render a separate stale cancel-running-trace button");
|
||||
assertIncludes(appSource, "session_required", "explicit session policy must be represented");
|
||||
assertIncludes(appSource, "grid-auto-rows: max-content;", "Session list rows must keep content height instead of stretching a single tab");
|
||||
assertIncludes(appSource, "CodeWorkbenchView", "Code Workbench must be a route view, not the app shell");
|
||||
assert.doesNotMatch(appSource, /from ["']react["']|React\.StrictMode|createRoot|\.tsx/u, "React runtime references must not remain");
|
||||
|
||||
|
||||
@@ -590,7 +590,9 @@
|
||||
.session-list {
|
||||
display: grid;
|
||||
min-height: 0;
|
||||
align-content: start;
|
||||
gap: 6px;
|
||||
grid-auto-rows: max-content;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
@@ -618,6 +620,7 @@
|
||||
.session-tab {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-self: start;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
min-height: 34px;
|
||||
|
||||
Reference in New Issue
Block a user