mirror of
https://github.com/bitwarden/browser.git
synced 2024-08-21 22:23:52 +02:00
Make spacing match other rows in vault filter (#1695)
* Make spacing match other rows in vault filter * Add spaces in headings
This commit is contained in:
parent
6ee47f0057
commit
b4ddce1da2
|
@ -16,7 +16,7 @@
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
></i>
|
></i>
|
||||||
</button>
|
</button>
|
||||||
<h3 class="filter-title">{{ collectionsGrouping.name | i18n }}</h3>
|
<h3 class="filter-title"> {{ collectionsGrouping.name | i18n }}</h3>
|
||||||
</div>
|
</div>
|
||||||
<ul id="collection-filters" *ngIf="!isCollapsed(collectionsGrouping)" class="filter-options">
|
<ul id="collection-filters" *ngIf="!isCollapsed(collectionsGrouping)" class="filter-options">
|
||||||
<ng-template #recursiveCollections let-collections>
|
<ng-template #recursiveCollections let-collections>
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
class="bwi bwi-collection bwi-fw"
|
class="bwi bwi-collection bwi-fw"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
></i
|
></i
|
||||||
>{{ c.node.name }}
|
> {{ c.node.name }}
|
||||||
</button>
|
</button>
|
||||||
</span>
|
</span>
|
||||||
<ul
|
<ul
|
||||||
|
|
|
@ -16,9 +16,7 @@
|
||||||
}"
|
}"
|
||||||
></i>
|
></i>
|
||||||
</button>
|
</button>
|
||||||
<h3 class="filter-title">
|
<h3 class="filter-title"> {{ "folders" | i18n }}</h3>
|
||||||
{{ "folders" | i18n }}
|
|
||||||
</h3>
|
|
||||||
<button
|
<button
|
||||||
class="text-muted ml-auto add-button"
|
class="text-muted ml-auto add-button"
|
||||||
(click)="addFolder()"
|
(click)="addFolder()"
|
||||||
|
@ -56,7 +54,7 @@
|
||||||
</button>
|
</button>
|
||||||
<button class="filter-button" (click)="applyFilter(f.node)">
|
<button class="filter-button" (click)="applyFilter(f.node)">
|
||||||
<i *ngIf="f.children.length === 0" class="bwi bwi-fw bwi-folder" aria-hidden="true"></i
|
<i *ngIf="f.children.length === 0" class="bwi bwi-fw bwi-folder" aria-hidden="true"></i
|
||||||
>{{ f.node.name }}
|
> {{ f.node.name }}
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="edit-button"
|
class="edit-button"
|
||||||
|
|
|
@ -15,9 +15,7 @@
|
||||||
}"
|
}"
|
||||||
></i>
|
></i>
|
||||||
</button>
|
</button>
|
||||||
<h3>
|
<h3> {{ "types" | i18n }}</h3>
|
||||||
{{ "types" | i18n }}
|
|
||||||
</h3>
|
|
||||||
</div>
|
</div>
|
||||||
<ul id="type-filters" *ngIf="!isCollapsed" class="filter-options">
|
<ul id="type-filters" *ngIf="!isCollapsed" class="filter-options">
|
||||||
<li
|
<li
|
||||||
|
@ -26,14 +24,14 @@
|
||||||
>
|
>
|
||||||
<span class="filter-buttons">
|
<span class="filter-buttons">
|
||||||
<button class="filter-button" (click)="applyFilter(cipherTypeEnum.Login)">
|
<button class="filter-button" (click)="applyFilter(cipherTypeEnum.Login)">
|
||||||
<i class="bwi bwi-fw bwi-globe" aria-hidden="true"></i>{{ "typeLogin" | i18n }}
|
<i class="bwi bwi-fw bwi-globe" aria-hidden="true"></i> {{ "typeLogin" | i18n }}
|
||||||
</button>
|
</button>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
<li class="filter-option" [ngClass]="{ active: activeFilter.cipherType === cipherTypeEnum.Card }">
|
<li class="filter-option" [ngClass]="{ active: activeFilter.cipherType === cipherTypeEnum.Card }">
|
||||||
<span class="filter-buttons">
|
<span class="filter-buttons">
|
||||||
<button class="filter-button" (click)="applyFilter(cipherTypeEnum.Card)">
|
<button class="filter-button" (click)="applyFilter(cipherTypeEnum.Card)">
|
||||||
<i class="bwi bwi-fw bwi-credit-card" aria-hidden="true"></i>{{ "typeCard" | i18n }}
|
<i class="bwi bwi-fw bwi-credit-card" aria-hidden="true"></i> {{ "typeCard" | i18n }}
|
||||||
</button>
|
</button>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
|
@ -43,7 +41,7 @@
|
||||||
>
|
>
|
||||||
<span class="filter-buttons">
|
<span class="filter-buttons">
|
||||||
<button class="filter-button" (click)="applyFilter(cipherTypeEnum.Identity)">
|
<button class="filter-button" (click)="applyFilter(cipherTypeEnum.Identity)">
|
||||||
<i class="bwi bwi-fw bwi-id-card" aria-hidden="true"></i>{{ "typeIdentity" | i18n }}
|
<i class="bwi bwi-fw bwi-id-card" aria-hidden="true"></i> {{ "typeIdentity" | i18n }}
|
||||||
</button>
|
</button>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
|
@ -53,7 +51,9 @@
|
||||||
>
|
>
|
||||||
<span class="filter-buttons">
|
<span class="filter-buttons">
|
||||||
<button class="filter-button" (click)="applyFilter(cipherTypeEnum.SecureNote)">
|
<button class="filter-button" (click)="applyFilter(cipherTypeEnum.SecureNote)">
|
||||||
<i class="bwi bwi-fw bwi-sticky-note" aria-hidden="true"></i>{{ "typeSecureNote" | i18n }}
|
<i class="bwi bwi-fw bwi-sticky-note" aria-hidden="true"></i> {{
|
||||||
|
"typeSecureNote" | i18n
|
||||||
|
}}
|
||||||
</button>
|
</button>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user