element icon indicating copy to clipboard operation
element copied to clipboard

When [feature request] menu is folded, you cannot customize the style of tooltip

Open freezyh opened this issue 3 years ago • 2 comments

Existing Component

Component Name

menu

Description

使用菜单的时候,只有一级菜单并且收起的状态,不能自定义tooltip的样式或者添加类去修改默认的 https://github.com/ElemeFE/element/blob/dev/packages/menu/src/menu-item.vue 默认是effect="dark" 应该暴露相应的属性让使用者去自定义或者修改样式主题

freezyh avatar Jun 18 '21 07:06 freezyh

Translation of this issue:

Existing Component

yes

Component Name

menu

Description

When using the menu, there is only one level menu and it is folded. You can't customize the style of tooltip or add classes to modify the default menu

https://github.com/ElemeFE/element/blob/dev/packages/menu/src/menu-item.vue The default value is effect = "dark"

The corresponding properties should be exposed for users to customize or modify the style theme

element-bot avatar Jun 18 '21 07:06 element-bot

@freezyh 大佬这个问题最后怎么解决的呢,我也遇到了要自定义这个样式的问题。

IdenPin avatar Aug 30 '22 15:08 IdenPin