style(client): reduce expanded search height

This commit is contained in:
_Kerman
2026-08-11 16:49:26 +08:00
parent fcbe3ac836
commit 79b9f3d524
2 changed files with 3 additions and 3 deletions
@@ -170,7 +170,7 @@
.searchExpanded {
width: calc(100% + 4px);
height: 34px;
height: 30px;
margin-inline: -2px;
padding: 0 4px 0 0;
border: 1px solid var(--dsw-alias-border-l2);
@@ -196,7 +196,7 @@
.searchExpanded .searchButton {
width: 28px;
height: 34px;
height: 30px;
}
.searchButton:hover {
@@ -96,7 +96,7 @@ describe('WorkspaceBrowser.module.css list', () => {
it('keeps the compact fade, overflow control, search field, and row heights', () => {
expect(declarations('.fade')?.get('height')).toBe('24px')
expect(declarations('.sessionOverflowButton')?.get('height')).toBe('28px')
expect(declarations('.searchExpanded')?.get('height')).toBe('34px')
expect(declarations('.searchExpanded')?.get('height')).toBe('30px')
expect(rowDeclarations('.projectRow')?.get('height')).toBe('34px')
expect(rowDeclarations('.sessionRow')?.get('height')).toBe('32px')
expect(rowDeclarations('.searchResultRow')?.get('min-height')).toBe('48px')