Skip to content
This repository was archived by the owner on May 24, 2026. It is now read-only.

Commit 3b1c497

Browse files
authored
Fixed model selection (#62)
1 parent 01b44b9 commit 3b1c497

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

PolyPilot/Components/Layout/CreateSessionForm.razor.css

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@
1616
font-size: var(--type-title3);
1717
}
1818

19-
.model-select-wrapper {
20-
min-width: 0;
21-
max-width: 100%;
22-
}
19+
2320

2421
.new-session input::placeholder {
2522
color: var(--text-dim);
@@ -39,6 +36,7 @@
3936
cursor: pointer;
4037
font-size: var(--type-title3);
4138
font-weight: bold;
39+
flex-shrink: 0;
4240
}
4341

4442
.new-session button:hover:not(:disabled) {
@@ -56,8 +54,9 @@
5654
width: 100%;
5755
}
5856

59-
.session-options-row .model-select-wrapper {
57+
.session-options-row ::deep .model-select-wrapper {
6058
flex: 1;
59+
min-width: 0;
6160
}
6261

6362
.dir-toggle-btn {

PolyPilot/Components/Layout/SessionSidebar.razor.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,9 @@
116116
width: 100%;
117117
}
118118

119-
.session-options-row .model-select {
119+
.session-options-row ::deep .model-select {
120120
flex: 1;
121+
min-width: 0;
121122
}
122123

123124
.dir-toggle-btn {

PolyPilot/Components/ModelSelector.razor.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
overflow: hidden;
2020
text-overflow: ellipsis;
2121
outline: none;
22+
min-width: 0;
23+
max-width: 100%;
2224
}
2325

2426
.model-selector-display:hover {

0 commit comments

Comments
 (0)