1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

[CL-614] More spacing fixes (#13955)

* Fix all dialogs to use ng-container for bitDialogFooter

* Fix button spacing

* Fix send icon spacing
This commit is contained in:
Oscar Hinton
2025-03-25 16:56:36 +01:00
committed by GitHub
parent 0fd01ed7ee
commit d0c91db3b3
17 changed files with 103 additions and 102 deletions

View File

@@ -26,7 +26,7 @@
</bit-hint>
</bit-form-field>
</div>
<div bitDialogFooter class="tw-flex tw-gap-2 tw-w-full">
<ng-container bitDialogFooter>
<button bitButton buttonType="primary" type="submit" [disabled]="customFieldForm.invalid">
{{ (variant === "add" ? "add" : "save") | i18n }}
</button>
@@ -43,6 +43,6 @@
[appA11yTitle]="'deleteCustomField' | i18n: customFieldForm.value.label"
(click)="removeField()"
></button>
</div>
</ng-container>
</bit-dialog>
</form>

View File

@@ -12,7 +12,7 @@
</bit-hint>
</bit-form-field>
</div>
<div bitDialogFooter class="tw-flex tw-gap-2 tw-w-full">
<ng-container bitDialogFooter>
<button
#submitBtn
bitButton
@@ -36,6 +36,6 @@
[appA11yTitle]="'deleteFolder' | i18n"
[bitAction]="deleteFolder"
></button>
</div>
</ng-container>
</bit-dialog>
</form>