Browse Source

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

pull/7540/head
Ramesh Mane 11 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" v-model:value="roleRef"
:open="isDropdownOpen" :open="isDropdownOpen"
:dropdown-match-select-width="false" :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" class="py-1 !absolute top-0 left-0 w-full h-full z-10 text-xs opacity-0"
@change="onChangeRole" @change="onChangeRole"
> >
@ -57,7 +57,7 @@ function onChangeRole(val: SelectValue) {
<RolesBadge :class="`nc-role-select-${rl}`" :role="rl" :inherit="inheritRef === rl" :border="false" /> <RolesBadge :class="`nc-role-select-${rl}`" :role="rl" :inherit="inheritRef === rl" :border="false" />
<GeneralIcon v-if="rl === roleRef" icon="check" class="text-primary" /> <GeneralIcon v-if="rl === roleRef" icon="check" class="text-primary" />
</div> </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> </div>
</a-select-option> </a-select-option>
</a-select> </a-select>

Loading…
Cancel
Save