fix(FN-2568): keep custom model dropdown header and search wrapper opaque

- Set the combobox search wrapper background to var(--surface) to prevent option list bleed-through behind the input.
- Update the dropdown header background from var(--bg) to var(--surface) for a consistent opaque top section.
- Add a CSS regression test in CustomModelDropdown.test.tsx that asserts the search wrapper rule includes an opaque surface background.
This commit is contained in:
Fusion
2026-04-25 19:35:47 -07:00
committed by gsxdsm
parent d855552f63
commit f63e98a8b0
2 changed files with 10 additions and 1 deletions

View File

@@ -78,6 +78,7 @@
.model-combobox-search-wrapper {
position: relative;
flex-shrink: 0;
background: var(--surface);
border-bottom: 1px solid var(--border);
}
@@ -125,7 +126,7 @@
padding: 6px 12px;
font-size: calc(var(--space-sm) + var(--space-xs) * 0.75);
color: var(--text-muted);
background: var(--bg);
background: var(--surface);
border-bottom: 1px solid var(--border);
}