1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-11 10:10:25 +01:00

[PM-9595] Fix owner / folder selects expanding out of container (#10493)

This commit is contained in:
Shane Melton 2024-08-13 09:26:13 -07:00 committed by GitHub
parent b4b1ade978
commit b3474fe101
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,12 +17,8 @@
<bit-label>{{ "itemName" | i18n }}</bit-label>
<input bitInput formControlName="name" />
</bit-form-field>
<div class="tw-flex tw-flex-wrap tw-gap-1">
<bit-form-field
class="tw-flex-1"
*ngIf="showOwnership"
[disableMargin]="!showCollectionsControl"
>
<div class="tw-grid tw-grid-cols-2 tw-gap-1">
<bit-form-field *ngIf="showOwnership" [disableMargin]="!showCollectionsControl">
<bit-label>{{ "owner" | i18n }}</bit-label>
<bit-select formControlName="organizationId">
<bit-option
@ -37,7 +33,10 @@
></bit-option>
</bit-select>
</bit-form-field>
<bit-form-field class="tw-flex-1" [disableMargin]="!showCollectionsControl">
<bit-form-field
[class.tw-col-span-2]="!showOwnership"
[disableMargin]="!showCollectionsControl"
>
<bit-label>{{ "folder" | i18n }}</bit-label>
<bit-select formControlName="folderId">
<bit-option