mirror of
https://github.com/bitwarden/web
synced 2025-12-16 00:03:25 +00:00
[euvr] Adjust Vault width based on card visibility (#1588)
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
>
|
>
|
||||||
</app-vault-groupings>
|
</app-vault-groupings>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-6">
|
<div [ngClass]="{ 'col-6': isShowingCards, 'col-9': !isShowingCards }">
|
||||||
<div class="page-header d-flex">
|
<div class="page-header d-flex">
|
||||||
<h1>
|
<h1>
|
||||||
{{ "vaultItems" | i18n }}
|
{{ "vaultItems" | i18n }}
|
||||||
|
|||||||
@@ -146,6 +146,15 @@ export class VaultComponent implements OnInit, OnDestroy {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get isShowingCards() {
|
||||||
|
return (
|
||||||
|
this.showBrowserOutdated ||
|
||||||
|
this.showPremiumCallout ||
|
||||||
|
this.showUpdateKey ||
|
||||||
|
this.showVerifyEmail
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
ngOnDestroy() {
|
ngOnDestroy() {
|
||||||
this.broadcasterService.unsubscribe(BroadcasterSubscriptionId);
|
this.broadcasterService.unsubscribe(BroadcasterSubscriptionId);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user