diff --git a/app/javascript/dashboard/components-next/selectmenu/SelectMenu.vue b/app/javascript/dashboard/components-next/selectmenu/SelectMenu.vue index cc584dcbb..922c0069e 100644 --- a/app/javascript/dashboard/components-next/selectmenu/SelectMenu.vue +++ b/app/javascript/dashboard/components-next/selectmenu/SelectMenu.vue @@ -15,6 +15,13 @@ const props = defineProps({ type: String, required: true, }, + subMenuPosition: { + type: String, + default: 'right', + validator: value => { + return ['right', 'left', 'bottom'].includes(value); + }, + }, }); const emit = defineEmits(['update:modelValue']); @@ -44,14 +51,21 @@ const handleSelect = value => { trailing-icon color="slate" variant="faded" - class="!w-fit" + class="!w-fit max-w-40" :class="{ 'dark:!bg-n-alpha-2 !bg-n-slate-9/20': isOpen }" :label="labelValue" @click="toggleMenu" />