custom-cards / stack-in-card

🛠 group multiple cards into one card without the borders
MIT License
262 stars 24 forks source link

Division when joining a vertical stack-in-card with a horizontal stack-in-card #4

Open McGiverGim opened 4 years ago

McGiverGim commented 4 years ago

Checklist:

Release with the issue: 0.1.0

Last working release (if known): Unknown

Browser and Operating System:

Description of problem: When adding an horizontal stack-in-card inside a vertical stack-in-card, the vertical division appears: image

Sample of the yaml card of the image:

type: 'custom:stack-in-card'
cards:
  - type: 'custom:stack-in-card'
    mode: horizontal
    cards:
      - type: sensor
        entity: sensor.boton_de_alarma_battery
        graph: line
      - type: sensor
        entity: sensor.boton_de_alarma_battery
        graph: line
  - type: sensor
    entity: sensor.boton_de_alarma_battery
    graph: line

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

Additional information:

jenniferlee1818 commented 3 years ago

I have this same thing happening with my horizontal stack within vertical stack.

julienlarivee commented 3 years ago

Same behavior here too.

circa1665 commented 3 years ago

Same issue:

Screenshot 2020-12-20 at 16 03 07
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