Browse Source

fic(nc-gui): PR review changes #2243

pull/7540/head
Ramesh Mane 7 months ago
parent
commit
3ad3ea78de
  1. 4
      packages/nc-gui/components/roles/Selector.vue

4
packages/nc-gui/components/roles/Selector.vue

@ -41,7 +41,7 @@ function onChangeRole(val: SelectValue) {
v-model:value="roleRef"
:open="isDropdownOpen"
:dropdown-match-select-width="false"
dropdown-class-name="!rounded-lg !h-fit max-w-64 nc-role-selector-dropdown"
dropdown-class-name="!rounded-lg !h-fit max-w-[350px] nc-role-selector-dropdown"
class="py-1 !absolute top-0 left-0 w-full h-full z-10 text-xs opacity-0"
@change="onChangeRole"
>
@ -57,7 +57,7 @@ function onChangeRole(val: SelectValue) {
<RolesBadge :class="`nc-role-select-${rl}`" :role="rl" :inherit="inheritRef === rl" :border="false" />
<GeneralIcon v-if="rl === roleRef" icon="check" class="text-primary" />
</div>
<div v-if="descriptionRef" class="text-gray-500">{{ RoleDescriptions[rl] }}</div>
<div v-if="descriptionRef" class="text-gray-500 text-xs">{{ RoleDescriptions[rl] }}</div>
</div>
</a-select-option>
</a-select>

Loading…
Cancel
Save