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

Space still very distant #117

Closed
KiLiMaToS opened this issue Jan 5, 2022 · 1 comment
Closed

Space still very distant #117

KiLiMaToS opened this issue Jan 5, 2022 · 1 comment

Comments

@KiLiMaToS
Copy link

KiLiMaToS commented Jan 5, 2022

I would like to reduce the space between the cards, but apart from deleting it, the cards remain very far apart.

image

I've tried with this CSS added to Style but it doesn't seem to take any of my changes.

type: custom:vertical-stack-in-card
title: Temperatura
style: |
  {
    background: none;
    box-shadow: none;
    padding-top: 0;
    padding-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
  } 
cards:
  - type: custom:vertical-stack-in-card
    horizontal: true
    cards:
      - type: markdown
        content: >
          <center> <p>Esterna</p> <p> <font color='#03a9f4'> <ha-icon
          icon="mdi:sun-thermometer-outline"/></font></p> <p> {{
          states('sensor.climatizzatore_outside_temperature') }}°C </p>
          </center>
      - type: markdown
        content: >
          <center> <p>Media</p> <p> <font color='#03a9f4'> <ha-icon
          icon="mdi:thermometer-lines"/></font></p> <p> {{
          states('sensor.temperatura_media') }}°C </p> </center>
      - type: markdown
        content: >
          <center> <p>Escursione</p> <p> <font color='#03a9f4'> <ha-icon
          icon="mdi:plus-minus-variant"/></font></p> <p> {% if
          (states('sensor.escursione'), '> 0') -%} + {%- endif -%} {{
          states('sensor.escursione') }}°C </p> </center>
  - type: custom:bar-card
    entities:
      - entity: sensor.soggiorno_temperature
        name: Soggiorno
        tap_action:

.........
@ofekashery
Copy link
Owner

Duplicate of #130.

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