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

[PM-9825] Remove margin from last field in section (#10315)

* Added disableMargin to the last field in a section

* simplified disableMargin input
This commit is contained in:
SmithThe4th
2024-07-29 16:42:27 -04:00
committed by GitHub
parent 2103cb4591
commit 0bbbe5e139
6 changed files with 18 additions and 11 deletions

View File

@@ -12,7 +12,7 @@
<div
*ngFor="let field of fields.controls; let i = index"
[formGroupName]="i"
class="tw-flex tw-p-3 -tw-mx-3 tw-gap-4 tw-bg-background tw-rounded-lg first:-tw-mt-3 last-of-type:tw-mb-3"
class="tw-flex tw-p-3 -tw-mx-3 tw-gap-4 tw-bg-background tw-rounded-lg first:-tw-mt-3 last-of-type:tw-mb-0"
[ngClass]="{
'tw-items-center': field.value.type === FieldType.Boolean,
}"