Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add focus border for search results
Signed-off-by: Christopher Ng <[email protected]>
  • Loading branch information
Pytal committed Feb 25, 2023
commit 6e6e3cd4eda6ac3e04519a6e7c8e706ebc7f73a6
9 changes: 4 additions & 5 deletions core/src/components/UnifiedSearch/SearchResult.vue
Original file line number Diff line number Diff line change
Expand Up @@ -172,19 +172,18 @@ $margin: 10px;
align-items: center;
height: $clickable-area;
padding: $margin;
border-bottom: 1px solid var(--color-border);
border: 2px solid transparent;
border-radius: var(--border-radius-large) !important;

// Load more entry,
&:last-child {
border-bottom: none;
&--focused {
background-color: var(--color-background-hover);
}

&--focused,
&:active,
&:hover,
&:focus {
background-color: var(--color-background-hover);
border: 2px solid var(--color-border-maxcontrast);
}

* {
Expand Down
Loading