Hi, I’m trying to merge 3 cards with the last being scrolling text, is it possible to reduce the size and move left the first two cards so I can make more use of the available space for the scrolling.The top picture is what I have and the second is what I would like.
type: custom:stack-in-card
mode: horizontal
cards:
- type: custom:stack-in-card
card_mod:
style: |
ha-card {
border: none !important;
--ha-card-border-width: 0;
}
cards:
- type: custom:digital-clock
- type: custom:stack-in-card
card_mod:
style: |
ha-card {
border: none !important;
--ha-card-border-width: 0;
}
cards:
- type: custom:mushroom-template-card
primary: Alerts & Weather
icon: mdi:weather-partly-snowy-rainy
tap_action:
action: navigate
navigation_path: '#livingroom'
icon_color: blue
multiline_secondary: true
card_mod:
style: |
ha-card {
--ha-card-background: none;
--ha-card-box-shadow: none;
--ha-card-border-width: 0;
z-index: 1;
}
:host {
--mush-icon-border-radius: 12px;
}
- type: custom:stack-in-card
card_mod:
style: |
ha-card {
border: none !important;
--ha-card-border-width: 0;
}
cards:
- type: custom:button-card
name: |
[[[return `<div style='display: flex;display: -webkit-flex;'>
<div> </div>
<marquee>
<span style='color: red;'>
There are '${states['sensor.lights_on_test'].state}' lights on
and '${states['sensor.count_windows_open'].state}' doors or windows open, 
the inside average house temperature is ${states['sensor.everything_presence_one_temperature'].state}°c, 
and the outside temperature is ${states['sensor.gw2000a_v2_2_0_outdoor_temperature'].state}°c. 
</span>
<span style='color: var(--primary-color);'>
<span style='color: green;'>
Today's weather summary is ${states['sensor.openweathermap_weather'].state} 
and ${states['sensor.openweathermap_forecast_condition'].state} 
with a possible ${states['sensor.openweathermap_forecast_precipitation'].state}mm of rain in the next hour
</span>
</marquee>`]]]