#hmm I dont get that behavior, it's just
1 messages · Page 1 of 1 (latest)
type: custom:expander-card
title-card-button-overlay: true
gap: 0
padding: 0em
clear: true
title: Expander
overlay-margin: 0.5em
child-padding: 0.0em
button-background: ''
title-card:
style: |
:host {
font-weight: 600;
}
ha-card {
margin: 0px 10px !important;
background: white;
border-radius: 26px;
max-width: 472px;
}
div.icon {
margin: 4px;
font-size: 10px;
}
type: custom:slider-button-card
entity: light.stue_gulvlampe
name: Stue gulv
slider:
direction: left-right
background: gradient
use_state_color: true
use_percentage_bg_opacity: true
show_track: false
toggle_on_click: false
force_square: false
show_name: true
show_state: false
compact: true
icon:
show: true
use_state_color: false
tap_action:
action: toggle
icon: mdi:floor-lamp-dual
action_button:
show: false
cards:
- type: custom:vertical-stack-in-card
cards:- type: custom:mushroom-light-card
entity: light.stue_gulvlampe
use_light_color: false
show_brightness_control: true
fill_container: false
layout: vertical
secondary_info: none
icon_type: none
hide_name: true
show_color_control: false
collapsible_controls: false - type: custom:mushroom-light-card
entity: light.stue_gulvlampe
fill_container: false
icon_type: none
secondary_info: none
primary_info: none
show_brightness_control: false
show_color_temp_control: true - shorten_cards: false
consolidate_entities: false
child_card: false
hide_header: true
show_header_icon: false
header: ''
color_wheel: false
persist_features: false
brightness: false
color_temp: false
white_value: false
color_picker: true
speed: false
intensity: false
force_features: false
show_slider_percent: false
full_width_sliders: false
brightness_icon: weather-sunny
white_icon: file-word-box
temperature_icon: thermometer
speed_icon: speedometer
intensity_icon: transit-connection-horizontal
type: custom:light-entity-card
entity: light.stue_gulvlampe
effects_list: false
style: |
ha-card {
margin: 14px 10px !important;
background: white;
border-radius: 26px;
}
expanded: false
- type: custom:mushroom-light-card
why you have this is the ha-card?
margin: 0px 10px !important;
```
Without it the card extends too far to the left: