1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-22 11:45:59 +01:00

fix: flexy (#4450)

This commit is contained in:
Brandon Maharaj 2023-01-20 09:29:21 -05:00 committed by GitHub
parent 9646f71cbc
commit c62f3a9607
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,23 +112,31 @@
</bit-label>
</div>
<div class="tw-mb-3 tw-flex">
<hr />
<div class="tw-flex tw-space-x-2 tw-pt-2">
<ng-container *ngIf="!accountCreated">
<button type="submit" buttonType="primary" bitButton [loading]="form.loading">
<button
[block]="true"
type="submit"
buttonType="primary"
bitButton
[loading]="form.loading"
>
{{ "createAccount" | i18n }}
</button>
<a
bitButton
buttonType="secondary"
routerLink="/login"
class="tw-ml-3 tw-inline-flex tw-items-center tw-px-3"
>
<a bitButton [block]="true" buttonType="secondary" routerLink="/login">
<i class="bwi bwi-sign-in tw-mr-2"></i>
{{ "logIn" | i18n }}
</a>
</ng-container>
<ng-container *ngIf="accountCreated">
<button type="submit" buttonType="primary" bitButton [loading]="form.loading">
<button
[block]="true"
type="submit"
buttonType="primary"
bitButton
[loading]="form.loading"
>
{{ "logIn" | i18n }}
</button>
</ng-container>