1
0
mirror of https://github.com/bitwarden/desktop.git synced 2025-01-03 18:17:48 +01:00

Resolve preferences not setting correct focus (#1336)

This commit is contained in:
Oscar Hinton 2022-02-14 14:23:05 +01:00 committed by GitHub
parent 6b6468e061
commit 2470d8ce25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,16 +2,17 @@
<div class="modal-dialog" role="document"> <div class="modal-dialog" role="document">
<div class="modal-content"> <div class="modal-content">
<div class="modal-body form"> <div class="modal-body form">
<ng-container *ngIf="currentUserEmail != null">
<div class="box"> <div class="box">
<label class="settingsTitle">{{ "settingsTitle" | i18n: currentUserEmail }} </label> <label class="settingsTitle">{{ "settingsTitle" | i18n: currentUserEmail }} </label>
<div class="box-content box-content-padded"> <div class="box-content box-content-padded">
<h2> <h2>
<button <button
id="app-settings"
type="button" type="button"
class="box-header-expandable" class="box-header-expandable"
(click)="showSecurity = !showSecurity" (click)="showSecurity = !showSecurity"
[attr.aria-expanded]="showSecurity" [attr.aria-expanded]="showSecurity"
appAutofocus
> >
{{ "security" | i18n }} {{ "security" | i18n }}
<i <i
@ -179,7 +180,6 @@
</ng-container> </ng-container>
</div> </div>
</div> </div>
</ng-container>
<div class="box"> <div class="box">
<div class="box-content box-content-padded"> <div class="box-content box-content-padded">
<h2> <h2>