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

Fix some styling issues #58

Merged
merged 1 commit into from
Jun 8, 2019
Merged

Fix some styling issues #58

merged 1 commit into from
Jun 8, 2019

Conversation

RomRider
Copy link
Contributor

@RomRider RomRider commented Jun 8, 2019

No description provided.

@ofekashery
Copy link
Owner

Hey @RomRider, thanks for contributing 🚀
Can you explain why this is necessary?

@RomRider
Copy link
Contributor Author

RomRider commented Jun 8, 2019

Sure.
That's without display: block;:
image

That's with display: block;:
image

And the configuration (using decluttering-card, thus the [[xxxx]]):

    type: custom:vertical-stack-in-card
    cards:
      - type: horizontal-stack
        cards:
          - type: custom:button-card
            size: '[[size]]'
            entity: '[[entity]]'
            template: cover_up
          - type: custom:button-card
            size: '[[size]]'
            entity: '[[entity]]'
            template: cover_stop
          - type: custom:button-card
            size: '[[size]]'
            entity: '[[entity]]'
            template: cover_down
      - type: custom:card-modder
        extra_styles: >
          .card-content {
            padding: 0px 0px
          }
        card:
          type: entities
          entities:
            - type: custom:slider-entity-row
              entity: '[[entity]]'
              full_row: true
              hide_state: true
      - type: custom:button-card
        name: '[[name]]'
        template: cover_name

@ofekashery ofekashery merged commit 02fbcf3 into ofekashery:master Jun 8, 2019
@ofekashery
Copy link
Owner

Thanks, merged

@RomRider
Copy link
Contributor Author

RomRider commented Jun 8, 2019

Thanks a lot!
Is there any way that you could release a version with this PR so that custom_updater and hacs could pick it up? :)

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

Successfully merging this pull request may close these issues.

2 participants