Sensor using duration per perdiod

Hi all,
I try to add the weather card at the bottom.
But as you see, i have a width problem.

I tried many options.

The actually code is :

bottomCard:
    type: horizontal-stack
    cardOptions:
      cards:
        - show_current: true
          show_forecast: true
          type: weather-forecast
          cardStyle: |
            :host {
              width: 100%;
              position: absolute;
              bottom: 0;
              left: 0;
                }
             ha-card {
               background: transparent;
               color: #FFF;
               overflow: hidden !important;
               box-shadow: none !important;
             }
          entity: weather.maison_veauche
          theme: Animated Weather Card
          secondary_info_attribute: pressure
          tap_action:
            action: navigate
            navigation_path: /lovelace/Météo

I saw that many people ask the same question, but no answer is availlable for me.

Thanks per advance.