[PM-13894] updating the text area for notes to have 5 rows (#11976)

* updating the text area for notes to have 5 rows

* Applying the row count to the edit page as well

---------

Co-authored-by: --global <>
This commit is contained in:
cd-bitwarden 2024-11-14 11:06:57 -05:00 committed by GitHub
parent e6fce421f5
commit a1ad3383f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<bit-card> <bit-card>
<bit-form-field> <bit-form-field>
<bit-label>{{ "notes" | i18n }}</bit-label> <bit-label>{{ "notes" | i18n }}</bit-label>
<textarea bitInput formControlName="notes"></textarea> <textarea bitInput rows="5" formControlName="notes"></textarea>
</bit-form-field> </bit-form-field>
<bit-form-control <bit-form-control
*ngIf="passwordRepromptEnabled$ | async" *ngIf="passwordRepromptEnabled$ | async"

View File

@ -5,7 +5,7 @@
<bit-card class="[&_bit-form-field:last-of-type]:tw-mb-0"> <bit-card class="[&_bit-form-field:last-of-type]:tw-mb-0">
<bit-form-field disableReadOnlyBorder> <bit-form-field disableReadOnlyBorder>
<bit-label>{{ "note" | i18n }}</bit-label> <bit-label>{{ "note" | i18n }}</bit-label>
<textarea readonly bitInput aria-readonly="true">{{ notes }}</textarea> <textarea readonly bitInput rows="5" aria-readonly="true">{{ notes }}</textarea>
<button <button
bitSuffix bitSuffix
bitIconButton="bwi-clone" bitIconButton="bwi-clone"