Commit ff882745 by Netfan Committed by GitHub

fix: long navigation menu can be scrolled (#5939)

* 修复超长的导航菜单无法纵向滚动的问题
1 parent afce9dc5
......@@ -208,6 +208,8 @@ onBeforeUnmount(() => {
nsMenu.e('popup-container'),
is(rootMenu.theme, true),
opened ? '' : 'hidden',
'overflow-auto',
'max-h-[calc(var(--radix-hover-card-content-available-height)-20px)]',
]"
:content-props="contentProps"
:open="true"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!