sidenav own svg not visible in compressed sidenav

Forum to discuss the new web client version of Servoy.

sidenav own svg not visible in compressed sidenav

Postby hovw » Mon Dec 19, 2022 11:02 pm

we have set a custom svg to the sidenav

mainMavMenu.js

menuItem = new Object();
menuItem.id = "homeDash board";
menuItem.text = "DASHBOARD"
//menuItem.iconStyleClass = "fas icon-contacts";
menuItem.iconStyleClass = "side-nav-pat-blue";
menuItems.push(menuItem);

cloudSampleSolutions.less


.side-nav-pat-blue {
content: url("patblauw_50.svg");
max-width: 10%;
opacity: 100%;

}

If we make the menu small, the custom icon disappears.
You do not have the required permissions to view the files attached to this post.
OSX 10.9.5 - 10.15.1
hovw
 
Posts: 33
Joined: Wed Nov 04, 2009 10:41 pm

Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 7 guests