Dynamic Column Count in Lovelace Grid Card Based on Screen Width #24621
Unanswered
Majed-BX
asked this question in
Other feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to request a feature that allows the number of columns in the Lovelace Grid Card to adjust dynamically based on screen width.
Current Issue
grid
card requires a fixedcolumns
value, which does not allow responsiveness.layout-card
causes unwanted spacing issues around elements likecustom:button-card
, making it a non-ideal solution.card-mod
does not provide a reliable way to dynamically adjust column count.grid
card using CSS grid properties, such as:grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
Use Case
I would like to have:
Currently, this is impossible without third-party workarounds that break the UI consistency.
Expected Benefit
I appreciate all the hard work the developers put into Home Assistant, and I believe this feature would greatly enhance the Lovelace experience for many users.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions