1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 02:03:39 +00:00

[PM-10375] Remove Identity Margin (#10349)

* remove margin from the last form field across identity sections

* remove bottom margin from the item name when it is the only field

* replace JS margin solution with CSS
This commit is contained in:
Nick Krantz
2024-08-01 10:48:09 -05:00
committed by GitHub
parent 0d76835cd8
commit d6f57149d9
3 changed files with 8 additions and 6 deletions

View File

@@ -4,7 +4,7 @@
</bit-section-header>
<bit-card>
<div
class="tw-border-secondary-300"
class="tw-border-secondary-300 [&_bit-form-field:last-of-type]:tw-mb-0"
*ngFor="let field of fields; let last = last"
[ngClass]="{ 'tw-mb-4': !last }"
>