Skip to content

Commit

Permalink
fix: Add enough space after TOTP field during cipher creation
Browse files Browse the repository at this point in the history
I checked the add-edit component again the current file and removed
what was diverging without purpose. It fixed the UI issue.
  • Loading branch information
zatteo committed Sep 25, 2024
1 parent 7c4b95c commit 6c4404c
Showing 1 changed file with 3 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- Cozy customization
<button type="button" (click)="cancel()">{{ "cancel" | i18n }}</button>
-->
<button type="button" appBlurClick (click)="cancel()" title="{{ 'cancel_shortcut' | i18n }}">
<button type="button" (click)="cancel()" title="{{ 'cancel_shortcut' | i18n }}">
<i class="icon-cozy icon-cross" aria-hidden="true"></i>
</button>
<!-- end Cozy -->
Expand All @@ -13,12 +13,7 @@ <h1 class="center">
<span class="title">{{ title }}</span>
</h1>
<div class="right">
<button
type="submit"
[disabled]="form.loading"
appBlurClick
title="{{ 'save_shorcut' | i18n }}"
>
<button type="submit" [disabled]="form.loading" title="{{ 'save_shorcut' | i18n }}">
<span [hidden]="form.loading">{{ "save" | i18n }}</span>
<i class="bwi bwi-spinner bwi-lg bwi-spin" [hidden]="!form.loading" aria-hidden="true"></i>
</button>
Expand Down Expand Up @@ -75,7 +70,6 @@ <h2 class="box-header">
type="button"
class="row-btn"
appStopClick
appBlurClick
appA11yTitle="{{ 'generateUsername' | i18n }}"
(click)="generateUsername()"
*ngIf="!(!cipher.edit && editMode)"
Expand Down Expand Up @@ -103,7 +97,6 @@ <h2 class="box-header">
type="button"
#checkPasswordBtn
class="row-btn btn"
appBlurClick
appA11yTitle="{{ 'checkPassword' | i18n }}"
(click)="checkPassword()"
[appApiAction]="checkPasswordPromise"
Expand All @@ -125,7 +118,6 @@ <h2 class="box-header">
type="button"
class="row-btn"
appStopClick
appBlurClick
appA11yTitle="{{ 'toggleVisibility' | i18n }}"
(click)="togglePassword()"
*ngIf="cipher.viewPassword && cipher.login.password"
Expand All @@ -141,7 +133,6 @@ <h2 class="box-header">
type="button"
class="row-btn"
appStopClick
appBlurClick
appA11yTitle="{{ 'generatePassword' | i18n }}"
(click)="generatePassword()"
*ngIf="cipher.viewPassword && !(!cipher.edit && editMode)"
Expand Down Expand Up @@ -263,7 +254,6 @@ <h2 class="box-header">
type="button"
class="row-btn"
appStopClick
appBlurClick
appA11yTitle="{{ 'toggleVisibility' | i18n }}"
(click)="toggleCardNumber()"
[attr.aria-pressed]="showCardNumber"
Expand Down Expand Up @@ -341,7 +331,6 @@ <h2 class="box-header">
type="button"
class="row-btn"
appStopClick
appBlurClick
appA11yTitle="{{ 'toggleVisibility' | i18n }}"
(click)="toggleCardCode()"
[attr.aria-pressed]="showCardCode"
Expand Down Expand Up @@ -554,7 +543,7 @@ <h2 class="box-header">
</div>
</div>
</div>
<div class="box box-uri" *ngIf="cipher.type === cipherType.Login">
<div class="box" *ngIf="cipher.type === cipherType.Login">
<div class="box-content">
<ng-container *ngIf="cipher.login.hasUris">
<div
Expand Down Expand Up @@ -643,7 +632,6 @@ <h2 class="box-header">
<button
type="button"
appStopClick
appBlurClick
(click)="addUri()"
class="box-content-row box-content-row-newmulti single-line"
*ngIf="!(!cipher.edit && editMode)"
Expand Down Expand Up @@ -823,7 +811,6 @@ <h2 class="box-header">
type="button"
class="box-content-row"
appStopClick
appBlurClick
(click)="delete()"
[appApiAction]="deletePromise"
#deleteBtn
Expand Down

0 comments on commit 6c4404c

Please sign in to comment.