Skip to content

Commit adb59c9

Browse files
committed
Add focus border for search results
Signed-off-by: Christopher Ng <chrng8@gmail.com>
1 parent 510e090 commit adb59c9

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

core/src/components/UnifiedSearch/SearchResult.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,15 @@ $margin: 10px;
180180
border-bottom: none;
181181
}
182182
183-
&--focused,
183+
&--focused {
184+
background-color: var(--color-background-hover);
185+
}
186+
184187
&:active,
185188
&:hover,
186189
&:focus {
187190
background-color: var(--color-background-hover);
191+
box-shadow: inset 0 0 0 2px var(--color-border-maxcontrast);
188192
}
189193
190194
* {

0 commit comments

Comments
 (0)