mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-06 08:00:05 +00:00
[Style] Show right arrow on nested submenu item (#2564)
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
item: 'relative'
|
||||
}"
|
||||
>
|
||||
<template #item="{ item, props }">
|
||||
<template #item="{ item, props, root }">
|
||||
<a
|
||||
class="p-menubar-item-link"
|
||||
v-bind="props.action"
|
||||
@@ -23,6 +23,7 @@
|
||||
>
|
||||
{{ item.comfyCommand.keybinding.combo.toString() }}
|
||||
</span>
|
||||
<i v-if="!root && item.items" class="ml-auto pi pi-angle-right" />
|
||||
</a>
|
||||
</template>
|
||||
</Menubar>
|
||||
@@ -64,10 +65,6 @@ const translatedItems = computed(() =>
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.top-menubar :deep(.p-menubar-item-link) svg {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:deep(.p-menubar-submenu.dropdown-direction-up) {
|
||||
@apply top-auto bottom-full flex-col-reverse;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user