Skip to content

Hide empty search tabs container on empty search term#74

Merged
davisagli merged 1 commit into
mainfrom
hide-empty-search-tabs
Jun 2, 2026
Merged

Hide empty search tabs container on empty search term#74
davisagli merged 1 commit into
mainfrom
hide-empty-search-tabs

Conversation

@reekitconcept

Copy link
Copy Markdown
Member

What

On the search results page, entering an empty search term left a stray grey rectangle where the search tabs (.searchTabs) normally appear.

Cause

With an empty search term there are no facet groups, so SearchTabs renders an empty container. Semantic UI's .ui.menu enforces a min-height, so the empty element still paints as a grey box.

Fix

Collapse the container in its empty state with .searchTabs.ui.tabular.menu:empty { display: none; } in solrsearch.less.

@reekitconcept reekitconcept force-pushed the hide-empty-search-tabs branch from 6e2bba4 to 03e1008 Compare May 27, 2026 15:19
@reekitconcept reekitconcept requested a review from davisagli May 27, 2026 15:32
@reekitconcept

Copy link
Copy Markdown
Member Author

@davisagli no urgency to review this - I fixed this directly on kitconcept.intranet, eventually we can merge this and then the local fix can be removed from there when it catches up the new version.

@davisagli davisagli merged commit aaffede into main Jun 2, 2026
19 checks passed
@davisagli davisagli deleted the hide-empty-search-tabs branch June 2, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants