1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 13:53:34 +00:00

Add collection name to title attribute of collection filters on desktop (#5131)

If a collection name is long the name gets collapsed and
the user cannot see the full name until they enter this collection.

Adding the name to the title of the button displays the collection's
full name on hover as a tooltip in most browsers.

Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
This commit is contained in:
Ana Rute Mendes
2023-06-07 01:20:36 +02:00
committed by GitHub
parent 78248db590
commit ec936f883f

View File

@@ -51,6 +51,7 @@
class="filter-button"
(click)="applyFilter(c.node)"
[attr.aria-pressed]="c.node.id === activeFilter.selectedCollectionId"
[title]="c.node.name"
>
<i
*ngIf="c.children.length === 0"