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

Lovelace: Remove margin from conditional if not shown #1730

Merged
merged 1 commit into from
Oct 4, 2018
Merged

Lovelace: Remove margin from conditional if not shown #1730

merged 1 commit into from
Oct 4, 2018

Conversation

thomasloven
Copy link
Contributor

A conditional card which is currently showing no content may still have margins (e.g. if placed in a vertical-stack.

Example:
conditional fix
Notice how the curenly hidden conditional in the right column leaves an empty space (marked with red).

This change sets the margin to 0 if the card is currently not showing.

This is not a fix for #1686.

@ghost ghost added the in progress label Oct 3, 2018
@thomasloven thomasloven changed the title Remove margin from conditional if not shown Lovelace: Remove margin from conditional if not shown Oct 3, 2018
@balloob balloob merged commit 0243632 into home-assistant:master Oct 4, 2018
@ghost ghost removed the in progress label Oct 4, 2018
@github-actions github-actions bot locked and limited conversation to collaborators Jul 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants