nathan-gs / ha-map-card

A Map Card for Home Assistant
https://community.home-assistant.io/t/map-card-a-slightly-improved-map-card/693088
MIT License
19 stars 4 forks source link

fullscreen card on panel view #16

Closed Manuel-Materazzo closed 3 months ago

Manuel-Materazzo commented 3 months ago

Adds the feature requested on #11 .

This way we can keep intact the current card_size configuration behaviour, while providing a default full-screen card in panel mode dashboards.

nathan-gs commented 3 months ago

unfortunately it creates very long maps even though a height is specified. Might rework it with an option like a user configurable height

Manuel-Materazzo commented 3 months ago

It's working correctly on both my main HA 2024.2.2 installation and a clean docker installation of HA 2024.3.1

Masonry Dashboard

default

Panel Dashboard

panel

Sidebar Dashboard

sidebar

nathan-gs commented 3 months ago

are your cards wrapped in anything? If I do it's fixed, if I don't it's not.

![Uploading bug.png…]()

Manuel-Materazzo commented 3 months ago

Nope, just a new empty dashboard with a custom:map-card. Behaviour it's the same on both standard and yaml mode. I have installed nothing but HACS and the panel-fullscreen branch of my map-card fork.

nathan-gs commented 3 months ago

@Manuel-Materazzo with my latest chances (see last commit) it works on HACS 2023.11 as well.

Manuel-Materazzo commented 3 months ago

I can confirm it's still working as intended on both HA 2024.2.2 and HA 2024.3.1