Skip to content

no font-awesome icons visible in submenu [fix included] #659

@betafritz

Description

@betafritz

I´m using font-awesome icons in my contextmenus. when you hover the item that has the submenu as child, the icon-color changes to white (#fff). that´s because you than can see the top item icon even when its has now the hover color. But that also changes the items color in the submenu to white so they are not visible.
contextmenu

so to fix that you must enter a ">" in the css rule (line 171 in jquery.contextMenu.css v2.7.0):

.context-menu-icon.context-menu-icon--fa5.context-menu-hover > i,.context-menu-icon.context-menu-icon--fa5.context-menu-hover svg {

    color: #fff

}

I haven´t check on the svg item. but i guess there should be a > too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions