diff --git a/frontend/src/app/main/ui/workspace/main_menu.cljs b/frontend/src/app/main/ui/workspace/main_menu.cljs index d870e3ac5..7d9413bd0 100644 --- a/frontend/src/app/main/ui/workspace/main_menu.cljs +++ b/frontend/src/app/main/ui/workspace/main_menu.cljs @@ -686,10 +686,12 @@ (dp/open-plugin! manifest user-can-edit?)))))] [:> dropdown-menu-item* {:key (dm/str "plugins-menu-" idx) :on-click on-click - :title (when-not can-open? (tr "workspace.plugins.error.need-editor")) :class (stl/css-case :submenu-item true :menu-disabled (not can-open?)) :on-key-down on-key-down} - [:span {:class (stl/css :item-name)} name]]))]))) + [:span {:class (stl/css :item-name)} name] + (when-not can-open? + [:span {:class (stl/css :item-icon) + :title (tr "workspace.plugins.error.need-editor")} i/help])]))]))) (mf/defc menu {::mf/props :obj} diff --git a/frontend/src/app/main/ui/workspace/main_menu.scss b/frontend/src/app/main/ui/workspace/main_menu.scss index 56ae1cd19..5ffd8efaa 100644 --- a/frontend/src/app/main/ui/workspace/main_menu.scss +++ b/frontend/src/app/main/ui/workspace/main_menu.scss @@ -113,3 +113,10 @@ top: $s-192; } } + +.item-icon { + svg { + @extend .button-icon; + stroke: var(--icon-foreground); + } +}