Thanks for sharing…
Mattias Persson … worse than covid!
(worse than a virus. You are contagious!)
Me too like everyone here … i’m learning basic swedish
So I’m getting somewhere, after quite some weeks of work. My main layout is sort of done. Tweaking of alignment will follow when I debug on my tablet. I do need to work on the pop-ups now and update some code I fear, since I started with the older code where styles became broken due to home-assistant updates.
I still have an issue with markdown cards, that give errors the first time I load the page. After a refresh all is fine. I assume it has something to do with the preload stuff. So according to Mattias’ post a few posts above, should I change the custom:hui-markdown-card to custom:hui-element & card_type: markdown? That means reworking those cards I fear? And I still see both types of these cards in Mattias’ code.
Yes, that’s exactly what you need to do. You should get rid of the custom:hui-markdown-card method, it’s very hacky and chances are you’ll run into issues with later HA versions.
I tried it myself and simply rewritten one by replacing custom:hui-markdown-card with:
type: 'custom:hui-element'
card_type: markdown
Strangely, I only changed one of the multiple custom:hui-markdown-card I have (to test if it works), but the errors disappeared all together of all markdowns.
Thanks for your help.
I copied the theme from your config and remove popups style and now the browser_mod popups are looking ok.
I have an issue with the regular more info popups, they have a transparent background when I use this theme.
Can you advice where to look into fix it.
That did the trick and you are right just when are multiple screens in popup the background needs to be transparent (none).
Thanks again for your help.
I’m in the final tweaking phase
Just wondering, what are these “prefix” header cards about? Can’t find any reference about them. And can I add an icon to it?
The popup is squeezed to the center of the screen as you see in the Screenshot. I don’t know what configuration to change. I tried to change the width but it seems like any change to the style block has any effect on the popup.