home-assistant_OctopusAgile icon indicating copy to clipboard operation
home-assistant_OctopusAgile copied to clipboard

Column layout breaking landscape mode

Open QuackingPlums opened this issue 4 years ago • 2 comments
trafficstars

On the mobile view (both in the browser and in the app) the columns break out of the card when in landscape mode.

To Reproduce Add the rate card to dashboard Rotate phone sideways

Expected behaviour Not an easy fix from usability point of view, but as a minimum, elements should not break outside of the card boundary. Reducing the size of the elements further may well give us an unreadable card, and forcing single-column layout will likely make the card too long. Does HA allow scrollable cards? What would be the preferred user experience here?

Screenshots 5C3497CA-726F-4D0E-AD87-2AF3F2623C5D_1_201_a

Smartphone (please complete the following information):

  • iPhone 12 Pro Max
  • iOS 14.2.1
  • Safari, HA app

Additional context HA 2021.1.3

QuackingPlums avatar Jan 19 '21 10:01 QuackingPlums

Out of interest do you get the same behaviour when using a different browser on your iPhone?

richardshaylor avatar Mar 29 '21 20:03 richardshaylor

Yep, same happens in Chrome on iOS. It seems to be when Lovelace decides that the screen is wide enough to have more than one column, but this card disagrees.

QuackingPlums avatar Mar 30 '21 07:03 QuackingPlums