mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-25 12:15:18 +01: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:
parent
78248db590
commit
ec936f883f
@ -51,6 +51,7 @@
|
|||||||
class="filter-button"
|
class="filter-button"
|
||||||
(click)="applyFilter(c.node)"
|
(click)="applyFilter(c.node)"
|
||||||
[attr.aria-pressed]="c.node.id === activeFilter.selectedCollectionId"
|
[attr.aria-pressed]="c.node.id === activeFilter.selectedCollectionId"
|
||||||
|
[title]="c.node.name"
|
||||||
>
|
>
|
||||||
<i
|
<i
|
||||||
*ngIf="c.children.length === 0"
|
*ngIf="c.children.length === 0"
|
||||||
|
Loading…
Reference in New Issue
Block a user