Browse Source

[EC-1009] UI feedback adjust width on multi selects to remain consistent with menus (#4574)

* [EC-1009] fix: make sure permission field doesnt shrink

* [EC-1009] fix: use officially documented tailwind class
pull/4664/head
Andreas Coroiu 3 years ago committed by GitHub
parent
commit
8675219162
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      apps/web/src/app/organizations/shared/components/access-selector/access-selector.component.html

4
apps/web/src/app/organizations/shared/components/access-selector/access-selector.component.html

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
<!-- Please remove this disable statement when editing this file! -->
<!-- eslint-disable tailwindcss/no-custom-classname -->
<div class="tw-flex">
<bit-form-field *ngIf="permissionMode == 'edit'" class="tw-mr-3">
<bit-form-field *ngIf="permissionMode == 'edit'" class="tw-mr-3 tw-shrink-0">
<bit-label>{{ "permission" | i18n }}</bit-label>
<!--
Built-in select height differs between browsers, this fix makes sure we match bit-multi-select height.
@ -22,7 +22,7 @@ @@ -22,7 +22,7 @@
</select>
</bit-form-field>
<bit-form-field class="tw-flex-grow">
<bit-form-field class="tw-grow">
<bit-label>{{ selectorLabelText }}</bit-label>
<bit-multi-select
class="tw-w-full"

Loading…
Cancel
Save