home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
3.95k stars 2.67k forks source link

3 columns in Default view are not same as 3 columns in Sections view #21476

Open pjannink opened 1 month ago

pjannink commented 1 month ago

Checklist

Describe the issue you are experiencing

A 3 column dashboard is a popular layout for HA. I notice on my wall mounted 9,6 inch iPad with Safari browser that the 3 column homepage in the Default view is shown in 2 columns when recreated in the Sections view: I simply copy-pasted all content from the default dashboard into 6 sections, setuo over 3 columns. However, on the iPad the Sections-page is shown in two columns. Seems that the total pixel width slightly differs looking at the white area between the columns??

Describe the behavior you expected

Sections view being identical to Default view

Steps to reproduce the issue

  1. Create Sections view with 3 columns
  2. Copy content from Default view into sections
  3. ...

What version of Home Assistant Core has the issue?

2024.7.3

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

Safari

Which operating system are you using to run this browser?

IOS 17.5.2

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

ChristophCaina commented 1 month ago

can you maybe show some screenshots? and / or post the yaml of your dashboards?

pjannink commented 1 month ago

Hi, here they are. I show my regular home page both on laptop and iPad. I copied all content from that homepage into a sections-version (Hometest) and you see on the iPad it only shows 2 columns. HA Sections issue.pdf

pjannink commented 2 weeks ago

Any update??

ChristophCaina commented 2 weeks ago

usually related with the screen width... the sections dashboard will reduce the amount of sections shown side-by-side if the screen resolution does not provide the required width.

You can probably reproduce this on your laptop by simply resizing your browser screen

pjannink commented 1 week ago

Dear Christoph,

I understand that it is related to the screen width. But you will agree with me that:

May be the team can investigate whether the sizing of the columns and white spaces between columns in the sections view can be identical to the default view

pvmil commented 1 week ago

I recognize this same issue, maybe forcing towards 3 columns might be a good solution? (not available as of now as far as I know)

edit: just found this https://github.com/home-assistant/frontend/pull/21141