Skip to content

Commit 6ee6668

Browse files
committed
fix(ui): keep health check checkboxes visible
1 parent e77237c commit 6ee6668

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

tests/unit/config-tabs-ui.test.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ test('config template keeps expected config tabs in top and side navigation', ()
126126
assert.match(styles, /\.task-action-row-right\s*\{[\s\S]*display:\s*flex;[\s\S]*flex-wrap:\s*wrap;/);
127127
assert.match(styles, /\.task-runtime-item-actions\s*\{[\s\S]*flex-direction:\s*row;[\s\S]*align-items:\s*center;/);
128128
}
129+
for (const styles of [bundledStyles]) {
130+
assert.match(styles, /\.health-failed-provider-main input\s*\{[\s\S]*flex:\s*0 0 auto;[\s\S]*width:\s*13px;[\s\S]*height:\s*13px;[\s\S]*accent-color:\s*var\(--color-brand-dark\);/);
131+
assert.match(styles, /\.health-failed-provider-main > span\s*\{[\s\S]*min-width:\s*0;/);
132+
}
129133
const sideGhostTab = sideRail.match(/<div id="side-tab-new"[\s\S]*?<\/div>\s*<\/div>/)?.[0] || '';
130134
assert.match(sideGhostTab, /class="side-item side-item-ghost"/);
131135
assert.match(sideGhostTab, /tabindex="-1"/);

web-ui/styles/skills-list.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,15 @@
321321
}
322322

323323
.health-failed-provider-main input {
324+
flex: 0 0 auto;
325+
width: 13px;
326+
height: 13px;
324327
margin-top: 2px;
328+
accent-color: var(--color-brand-dark);
329+
}
330+
331+
.health-failed-provider-main > span {
332+
min-width: 0;
325333
}
326334

327335
.health-failed-provider-main .form-hint {

0 commit comments

Comments
 (0)