frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Horizontal stack with 2 horizontal stacks: a height glitch

Open ildar170975 opened this issue 1 year ago • 7 comments

Checklist

  • [X] I have updated to the latest available Home Assistant version.
  • [X] I have cleared the cache of my browser.
  • [X] I have tried a different browser to see if it is related to my browser.

Describe the issue you are experiencing

Consider this card:

type: vertical-stack
cards:
  - type: horizontal-stack
    cards:
      - type: horizontal-stack
        title: title
        cards:
          - show_name: true
            show_icon: true
            type: button
          - type: button
      - type: horizontal-stack
        title: title
        cards:
          - type: button
          - type: button
  - type: horizontal-stack
    title: stack title
    cards:
      - type: button
      - type: button
  - type: horizontal-stack
    title: stack title
    cards:
      - type: button
      - type: button

изображение

The upper horiz stack contains two horiz stacks. Seems that inner stacks make buttons of wrong height. As a result - the stack title text came under the upper stack:

изображение

A correct look:

изображение

Describe the behavior you expected

Using horiz stacks inside a horz stack does not cause glitches.

Steps to reproduce the issue

as above

What version of Home Assistant Core has the issue?

2023.12.0

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

Chrome 119.0.6045.200

Which operating system are you using to run this browser?

Win10x64

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

ildar170975 avatar Dec 08 '23 15:12 ildar170975

 IMG_5414

Ich habe ein ähnliches Problem

vwtuner avatar Jan 18 '24 10:01 vwtuner

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Apr 17 '24 12:04 github-actions[bot]

Default icons are not shown in 2024.4.3, so the test code is:

type: vertical-stack
cards:
  - type: horizontal-stack
    cards:
      - type: horizontal-stack
        title: title
        cards:
          - show_name: true
            show_icon: true
            type: button
            icon: mdi:car
          - type: button
            icon: mdi:car
      - type: horizontal-stack
        title: title
        cards:
          - type: button
            icon: mdi:car
          - type: button
            icon: mdi:car
  - type: horizontal-stack
    title: stack title
    cards:
      - type: button
        icon: mdi:car
      - type: button
        icon: mdi:car
  - type: horizontal-stack
    title: stack title
    cards:
      - type: button
        icon: mdi:car
      - type: button
        icon: mdi:car

Editor: image

Edit mode: image

Non-edit mode: image

ildar170975 avatar Apr 17 '24 14:04 ildar170975

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jul 16 '24 17:07 github-actions[bot]

Up

ildar170975 avatar Jul 21 '24 23:07 ildar170975