1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +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

@@ -8,7 +8,10 @@
<bit-label>{{ "notes" | i18n }}</bit-label>
<textarea bitInput formControlName="notes"></textarea>
</bit-form-field>
<bit-form-control *ngIf="passwordRepromptEnabled$ | async">
<bit-form-control
*ngIf="passwordRepromptEnabled$ | async"
[disableMargin]="hasCustomFields || isPartialEdit"
>
<input type="checkbox" bitCheckbox formControlName="reprompt" />
<bit-label>{{ "passwordPrompt" | i18n }}</bit-label>
</bit-form-control>