Skip to content

Commit c8fd79b

Browse files
committed
PD-5543
1 parent 76537e6 commit c8fd79b

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

src/app/account-settings/components/settings-security-two-factor-auth/settings-security-two-factor-auth.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
mat-raised-button
3535
color="primary"
3636
id="cy-two-factor-enable"
37+
class="two-factor-panel__enable-button"
3738
(click)="twoFactor()"
3839
i18n="@@account.enableTwoFactorAuth"
3940
>

src/app/account-settings/components/settings-security-two-factor-auth/settings-security-two-factor-auth.component.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
:host {
2+
display: block;
3+
width: 100%;
4+
}
5+
6+
17
.two-factor-panel {
28
display: flex;
39
flex-direction: column;
@@ -78,3 +84,8 @@
7884
border-color: var(--orcid-color-state-warning-dark, #d32f2f) !important;
7985
color: #fff !important;
8086
}
87+
88+
.two-factor-panel__enable-button {
89+
align-self: flex-start;
90+
width: auto;
91+
}

0 commit comments

Comments
 (0)