1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 06:13:38 +00:00

PM-9639 updated elements used in additional information (#10246)

This commit is contained in:
Jason Ng
2024-07-24 15:27:12 -04:00
committed by GitHub
parent 5b628b7c1f
commit 9421b6f0c0
2 changed files with 5 additions and 2 deletions

View File

@@ -6,9 +6,10 @@
<label class="tw-text-xs tw-text-muted tw-select-none"> <label class="tw-text-xs tw-text-muted tw-select-none">
{{ "note" | i18n }} {{ "note" | i18n }}
</label> </label>
<div class="tw-flex tw-justify-between"> <bit-form-field>
<textarea readonly bitInput aria-readonly="true">{{ notes }}</textarea> <textarea readonly bitInput aria-readonly="true">{{ notes }}</textarea>
<button <button
bitSuffix
bitIconButton="bwi-clone" bitIconButton="bwi-clone"
size="small" size="small"
type="button" type="button"
@@ -16,6 +17,6 @@
showToast showToast
[appA11yTitle]="'copyValue' | i18n" [appA11yTitle]="'copyValue' | i18n"
></button> ></button>
</div> </bit-form-field>
</bit-card> </bit-card>
</bit-section> </bit-section>

View File

@@ -9,6 +9,7 @@ import {
SectionComponent, SectionComponent,
SectionHeaderComponent, SectionHeaderComponent,
TypographyModule, TypographyModule,
FormFieldModule,
} from "@bitwarden/components"; } from "@bitwarden/components";
@Component({ @Component({
@@ -24,6 +25,7 @@ import {
SectionComponent, SectionComponent,
SectionHeaderComponent, SectionHeaderComponent,
TypographyModule, TypographyModule,
FormFieldModule,
], ],
}) })
export class AdditionalInformationComponent { export class AdditionalInformationComponent {