From 7d05b9df0d6656d135572fedc1f06c83e1916701 Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Tue, 26 Mar 2024 20:59:41 +0100 Subject: [PATCH] fixup! feat(ParticipantsTab): attach arrow navigation to search results, align list styles with LeftSidebar Signed-off-by: Maksim Sukharev --- src/components/RightSidebar/Participants/Participant.vue | 2 +- src/components/RightSidebar/Participants/ParticipantsTab.vue | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/RightSidebar/Participants/Participant.vue b/src/components/RightSidebar/Participants/Participant.vue index 4bd5dedf92e6..eb9ff6f01e12 100644 --- a/src/components/RightSidebar/Participants/Participant.vue +++ b/src/components/RightSidebar/Participants/Participant.vue @@ -31,7 +31,7 @@ 'selected': isSelected }" :aria-label="participantAriaLabel" :role="isSearched ? 'listitem' : undefined" - :tabindex="isSearched ? 0 : undefined" + :tabindex="0" v-on="isSearched ? { click: handleClick, 'keydown.enter': handleClick } : {}" @keydown.enter="handleClick"> diff --git a/src/components/RightSidebar/Participants/ParticipantsTab.vue b/src/components/RightSidebar/Participants/ParticipantsTab.vue index 52f2f44aa50c..d814d5cca97a 100644 --- a/src/components/RightSidebar/Participants/ParticipantsTab.vue +++ b/src/components/RightSidebar/Participants/ParticipantsTab.vue @@ -51,6 +51,7 @@ @@ -370,6 +371,10 @@ export default { overflow-y: auto; } +.known-results { + padding: 0 2px; +} + .search-results { margin-top: 12px; // compensate margin before first header inside }