-
Notifications
You must be signed in to change notification settings - Fork 743
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no font-awesome icons visible in submenu [fix included] #659
Comments
When i try to reproduce this i see the icons without a problem, with the SVG and CSS version of font-awesome 5. What browser are you using? |
had the same problem. in
use:
So the looks like this in my project: http://prntscr.com/l17i3g |
for fixing the issue for release the SASS rule in https://github.com/swisnl/jQuery-contextMenu/blob/master/src/sass/jquery.contextMenu.scss#L62 would have to be changed so that only direct childs are affected. |
oh, sorry, did not see that @betafritz also proposed the solution... only saw that the issue is still open. |
Sorry for the delay, a fix has been published. |
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.
so to fix that you must enter a ">" in the css rule (line 171 in jquery.contextMenu.css v2.7.0):
I haven´t check on the svg item. but i guess there should be a > too.
The text was updated successfully, but these errors were encountered: