Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vertical stack with horizontal-stacks #9

Open
PierreScerri opened this issue Aug 14, 2020 · 1 comment
Open

Vertical stack with horizontal-stacks #9

PierreScerri opened this issue Aug 14, 2020 · 1 comment

Comments

@PierreScerri
Copy link

PierreScerri commented Aug 14, 2020

The image below shows a vertical stack containing 8 horizontal stacks of buttons and 2 custom:bar-cards.

Screenshot 2020-08-14 at 11 08 24

When I add:

in_card: true

I get:

Screenshot 2020-08-14 at 11 09 03

It seems that horizontal-stack is messing up the vertical spacing.

@zen2
Copy link

zen2 commented Aug 15, 2020

I got a similar problem but without horizontal-stack.
In my case it's several vertical-stack inside a vertical-stack using "the in-card: true":

 - type: vertical-stack
    in_card: true
    cards:
    - type: vertical-stack
      cards:
      ....
    - type: vertical-stack
      cards:
      ....
    - type: vertical-stack
      cards:
      ....

Without in-card option, spaces are perfect:
without

Whit in-card option, there is overlapping:
with-in-card

So it seems that the vertical spacing is messed up when we use several level of vertical-stack or horizontal-stack with in-card option set to the top level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants