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

View File

@@ -170,7 +170,7 @@
.searchExpanded { .searchExpanded {
width: calc(100% + 4px); width: calc(100% + 4px);
height: 34px; height: 30px;
margin-inline: -2px; margin-inline: -2px;
padding: 0 4px 0 0; padding: 0 4px 0 0;
border: 1px solid var(--dsw-alias-border-l2); border: 1px solid var(--dsw-alias-border-l2);
@@ -196,7 +196,7 @@
.searchExpanded .searchButton { .searchExpanded .searchButton {
width: 28px; width: 28px;
height: 34px; height: 30px;
} }
.searchButton:hover { .searchButton:hover {

View File

@@ -96,7 +96,7 @@ describe('WorkspaceBrowser.module.css list', () => {
it('keeps the compact fade, overflow control, search field, and row heights', () => { it('keeps the compact fade, overflow control, search field, and row heights', () => {
expect(declarations('.fade')?.get('height')).toBe('24px') expect(declarations('.fade')?.get('height')).toBe('24px')
expect(declarations('.sessionOverflowButton')?.get('height')).toBe('28px') 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('.projectRow')?.get('height')).toBe('34px')
expect(rowDeclarations('.sessionRow')?.get('height')).toBe('32px') expect(rowDeclarations('.sessionRow')?.get('height')).toBe('32px')
expect(rowDeclarations('.searchResultRow')?.get('min-height')).toBe('48px') expect(rowDeclarations('.searchResultRow')?.get('min-height')).toBe('48px')