1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 17:53:39 +00:00

replace bit-section with section for all shared cipher form and views (#14710)

This commit is contained in:
Jordan Aasen
2025-05-13 16:26:36 -07:00
committed by GitHub
parent d68574fc40
commit 7de6befbf4
16 changed files with 42 additions and 37 deletions

View File

@@ -1,4 +1,4 @@
<bit-section>
<section class="tw-mb-5 bit-compact:tw-mb-4">
<bit-section-header>
<h2 bitTypography="h6">{{ "additionalOptions" | i18n }}</h2>
</bit-section-header>
@@ -18,4 +18,4 @@
></button>
</bit-form-field>
</bit-card>
</bit-section>
</section>

View File

@@ -1,4 +1,4 @@
<bit-section>
<section class="tw-mb-5 bit-compact:tw-mb-4">
<bit-section-header>
<h2 bitTypography="h6">{{ "attachments" | i18n }}</h2>
</bit-section-header>
@@ -21,4 +21,4 @@
</ng-container>
</bit-item>
</bit-item-group>
</bit-section>
</section>

View File

@@ -1,4 +1,4 @@
<bit-section>
<section class="tw-mb-5 bit-compact:tw-mb-4">
<bit-section-header>
<h2 bitTypography="h6">{{ "autofillOptions" | i18n }}</h2>
</bit-section-header>
@@ -41,4 +41,4 @@
</bit-form-field>
</ng-container>
</bit-card>
</bit-section>
</section>

View File

@@ -1,4 +1,4 @@
<bit-section>
<section class="tw-mb-5 bit-compact:tw-mb-4">
<bit-section-header>
<h2 bitTypography="h6">{{ setSectionTitle }}</h2>
</bit-section-header>
@@ -93,4 +93,4 @@
></button>
</bit-form-field>
</read-only-cipher-card>
</bit-section>
</section>

View File

@@ -1,4 +1,4 @@
<bit-section>
<section class="tw-mb-5 bit-compact:tw-mb-4">
<bit-section-header>
<h2 bitTypography="h6">{{ "customFields" | i18n }}</h2>
</bit-section-header>
@@ -115,4 +115,4 @@
</bit-form-field>
</div>
</bit-card>
</bit-section>
</section>

View File

@@ -1,4 +1,4 @@
<bit-section>
<section class="tw-mb-5 bit-compact:tw-mb-4">
<bit-section-header>
<h2 bitTypography="h6">{{ "itemDetails" | i18n }}</h2>
</bit-section-header>
@@ -80,4 +80,4 @@
</li>
</ul>
</bit-card>
</bit-section>
</section>

View File

@@ -1,4 +1,4 @@
<bit-section>
<section class="tw-mb-5 bit-compact:tw-mb-4">
<bit-section-header>
<h2 bitTypography="h6">{{ "loginCredentials" | i18n }}</h2>
</bit-section-header>
@@ -164,4 +164,4 @@
></button>
</bit-form-field>
</read-only-cipher-card>
</bit-section>
</section>

View File

@@ -1,4 +1,4 @@
<bit-section>
<section class="tw-mb-5 bit-compact:tw-mb-4">
<bit-section-header>
<h2 bitTypography="h6">{{ "typeSshKey" | i18n }}</h2>
</bit-section-header>
@@ -66,4 +66,4 @@
></button>
</bit-form-field>
</bit-card>
</bit-section>
</section>

View File

@@ -1,4 +1,4 @@
<bit-section *ngIf="hasPersonalDetails">
<section *ngIf="hasPersonalDetails" class="tw-mb-5 bit-compact:tw-mb-4">
<bit-section-header>
<h2 bitTypography="h6">{{ "personalDetails" | i18n }}</h2>
</bit-section-header>
@@ -64,9 +64,9 @@
></button>
</bit-form-field>
</read-only-cipher-card>
</bit-section>
</section>
<bit-section *ngIf="hasIdentificationDetails">
<section *ngIf="hasIdentificationDetails" class="tw-mb-5 bit-compact:tw-mb-4">
<bit-section-header>
<h2 bitTypography="h6">{{ "identification" | i18n }}</h2>
</bit-section-header>
@@ -153,9 +153,9 @@
></button>
</bit-form-field>
</read-only-cipher-card>
</bit-section>
</section>
<bit-section *ngIf="hasContactDetails">
<section *ngIf="hasContactDetails" class="tw-mb-5 bit-compact:tw-mb-4">
<bit-section-header>
<h2 bitTypography="h6">{{ "contactInfo" | i18n }}</h2>
</bit-section-header>
@@ -212,4 +212,4 @@
></button>
</bit-form-field>
</read-only-cipher-card>
</bit-section>
</section>