1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

[PM-10934] Remove last form-field bottom border (#10751)

* match API of new CL FormField component

* remove readonly border for additional options component

* remove readonly border for last autofill option

* remove readonly border for last custom-field form field

* remove readonly border for when collection,org or folder is available

* add `ReadOnlyCipherCardComponent` to handle readonly border

* remove readonly border for the last identity form field

* remove readonly border for the last card form field

* remove readonly border for the last login form field

* remove unneeded true value
This commit is contained in:
Nick Krantz
2024-09-04 10:50:34 -05:00
committed by GitHub
parent 192fd885d5
commit 3e9fb2009e
13 changed files with 67 additions and 15 deletions

View File

@@ -2,7 +2,7 @@
<bit-section-header>
<h2 bitTypography="h6">{{ "loginCredentials" | i18n }}</h2>
</bit-section-header>
<bit-card class="[&_bit-form-field:last-of-type]:tw-mb-0">
<read-only-cipher-card>
<bit-form-field *ngIf="cipher.login.username">
<bit-label>
{{ "username" | i18n }}
@@ -132,5 +132,5 @@
class="disabled:tw-cursor-default"
></button>
</bit-form-field>
</bit-card>
</read-only-cipher-card>
</bit-section>