fix: keep workbar tab close background transparent

This commit is contained in:
mesalogo
2026-09-09 20:01:03 +08:00
parent f669e490b8
commit abd3d5c6bb
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -81,6 +81,12 @@ describe('WorkbarShell', () => {
)
})
it('keeps the close control background transparent when a tab reveals it', () => {
expect(stylesheet).toMatch(
/\.workbar-shell__tab-close\s*\{[^}]*background:\s*transparent;/u
)
})
it('provides four default single-instance tabs and keeps add outside the tablist', () => {
render(<ControlledShell />)
+1 -1
View File
@@ -4010,7 +4010,7 @@ button > svg {
width: 24px;
min-width: 24px;
height: 24px;
background: var(--surface-raised);
background: transparent;
opacity: 0;
pointer-events: none;
transform: translateY(-50%) scale(0.86);