sidebar-card icon indicating copy to clipboard operation
sidebar-card copied to clipboard

Icon of menu

Open snapjack opened this issue 1 year ago • 2 comments

I added icons to the sidebar menu like so: sidebarMenu: - action: navigate navigation_path: "/lovelace-minimalist-sidebar/t_home" name: "Räume" icon: mdi:map-marker active: true - action: navigate navigation_path: "/lovelace-minimalist-sidebar/lights" name: "Licht" icon: mdi:lightbulb

But they do not show, at least not always. After refreshing they some times appear, but mostly not. It seems the menu item is to large and hided behind the actual page (see screenshot). I use Chrome as browser on PC and mobile. Happens on all platforms (Windows, Mac, Android, IOS) image

snapjack avatar Nov 17 '23 09:11 snapjack

@snapjack not sure it matters but it works for me atm, maybe try it like: icon: "mdi:cctv" <- so with "" around it? Maybe you can inspect in the browser and see if there is an icon element at all?

DBuit avatar Nov 21 '23 14:11 DBuit

Ok,

I found out it's more complicated. I use the Minimalist Theme + Sidebar card. When I switch back to Theme "Minimalist-Desktop" and after that to "Minimalist-mobile-tapbar" all works (Browser or HA Companion App, does not matter). If I use theme "Minimalist-mobile-tapbar" and restart e.g. the android tablet or also only open a new chrome browser tab on PC and load the dashboard it does not work, Icons are not displayed. I always have to switch themes before it is displayed correctly...

snapjack avatar Nov 21 '23 14:11 snapjack