Skip to content

v1.4.2 - Fix card size and narrow-width layout

Choose a tag to compare

@eyalgal eyalgal released this 19 Apr 19:52

Fixes

  • Card height respects enabled rows again. getLayoutOptions() / getCardSize() were regressed in v1.4.0 to always report a single row, so enabling controls like sound, timer, brightness, volume slider, scenes or toddler lock got clipped in the HA sections layout. The card now grows with the number of always-visible controls while still allowing you to resize it down manually.
  • Narrow-width layout on mobile. Added min-width: 0 and switched to flex: 1 1 auto on the header/info containers so long names no longer push the card past its column on narrow phone screens