Skip to content

Commit 88fd0f3

Browse files
Fix search results styling to show dark background for all items
- Add default dark background (#374151) to all search result items - Update hover/selected state to slightly lighter background (#4b5563) - Ensure consistent dark theme styling across all search results - Fix issue where only first result had proper dark background This ensures all search results have proper visibility and consistent styling with the dark theme.
1 parent a8d7e13 commit 88fd0f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

layouts/partials/search-modal.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@
1919
padding: 0.75rem;
2020
display: block;
2121
border-radius: 0.375rem;
22+
background-color: #374151;
2223
transition: background-color 0.2s;
2324
}
2425

2526
.search-item a:hover,
2627
.search-item[aria-selected] a {
27-
background-color: #374151;
28+
background-color: #4b5563;
2829
color: white;
2930
}
3031

0 commit comments

Comments
 (0)