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

Box shadow and border when vertical stack is below a horizontal stack #20

Open
2 tasks done
circa1665 opened this issue Dec 20, 2020 · 3 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@circa1665
Copy link

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue:
0.2.0
Last working release (if known):

Browser and Operating System:
macOS 11.1, Safari 14.0.2

Description of problem:
Box shadow and border when vertical stack is below a horizontal stack.

Screenshot 2020-12-20 at 16 11 13

type: 'custom:stack-in-card'
mode: vertical
cards:
  - type: weather-forecast
    entity: weather.openweathermap
  - type: 'custom:stack-in-card'
    mode: horizontal
    cards:
      - type: entities
        entities:
          - entity: sensor.nextsunrise
            type: 'custom:multiple-entity-row'
            show_state: false
            secondary_info:
              entity: sensor.nextsunrise
              name: false
      - type: entities
        entities:
          - entity: sensor.nextsunset
            type: 'custom:multiple-entity-row'
            show_state: false
            secondary_info:
              entity: sensor.nextsunset
              name: false
  - type: conditional
    conditions:
      - entity: sun.sun
        state: above_horizon
    card:
      type: entities
      entities:
        - entity: sensor.current_uv_level
        - entity: sensor.skin_type_2_safe_exposure_time
          name: Safe exposure time
        - entity: sensor.uv_protection_template
          name: Protection

Javascript errors shown in the web inspector (if applicable):


Additional information:

@circa1665 circa1665 added the bug Something isn't working label Dec 20, 2020
@alnavasa
Copy link

alnavasa commented Dec 30, 2020

Same here, Getting double background
Captura de pantalla 2020-12-31 a las 0 32 47

(Month utility meeter needs to reset at the end of the month, I didn't set It up properly at the beginning)

type: 'custom:stack-in-card'
mode: vertical
cards:

  - type: 'custom:mini-graph-card'
    entities:
      - entity: sensor.total_daily_energy
        name: Total
    show:
      graph: bar
      name: false
      icon: false
      state: false
      extrema: true
    line_width: 2
    font_size: 70
    animate: true
    lower_bound: 0
    group_by: date
    hours_to_show: 720
    points_per_hour: 0.04
    height: 60
  - type: 'custom:stack-in-card'
    mode: horizontal
    cards:
      - type: entities
        entities:
          - type: divider
          - type: 'custom:multiple-entity-row'
            entities:
              - entity: sensor.cocina_monthly_energy
                name: Mes
                format: precision 0
            entity: sensor.shelly_shem_ccccc_2_current_consumption
            icon: 'mdi:stove'
            name: Cocina
            secondary_info:
              entity: sensor.shelly_shem_ccccc_2_current_consumption
              name: ' '
            show_state: false
      - type: entities
        entities:
          - type: divider
          - type: 'custom:multiple-entity-row'
            entities:
              - entity: sensor.coste_cocina_mes
                name: Mes
                format: precision 2
            entity: sensor.coste_cocina_instantaneo
            icon: 'mdi:cash-usd'
            name: Coste
            secondary_info:
              entity: sensor.coste_cocina_instantaneo
              name: ' '
            show_state: false
  - type: 'custom:mini-graph-card'
    entities:
      - entity: sensor.shelly_shem_cccccc_2_current_consumption
    hours_to_show: 168
    points_per_hour: 1
    line_width: 1
    font_size: 70
    animate: true
    show:
      name: false
      icon: false
      state: false
    height: 30```

@ildar170975
Copy link

Probably same reason.
#34
It does not depend whether the inserted stack-in-card is horizontal or vertical.

@markorichter83
Copy link

Use normal horizontal or vertical stack after the first custom stack in cars. It will work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants