Lost border and shadow after 2024.4 update

Hi. Can someone help me fix this issue? The frontend has changed since 2024.4 update. I’ve lost some styles(border and shadow). This cards requires panel: true. However with it being true, the border & shadow do not show up.

If I set to panel: false, the border & shadow show but the layout is not what I want.

partial code:

title: Chores
path: chores
icon: mdi:bookmark-check
background: "center / cover no-repeat url('/local/lovelace/wallpaper/midnight.jpg') fixed"
panel: true
cards:

  - type: custom:layout-card
    layout_type: horizontal-layout
    layout:
      max_cols: 4
    cards:

      - type: vertical-stack
        title: Home
        cards:
         - !include
           - /config/lovelace/tpl/chores_tpl.yaml
           - name: Change Bed Sheets
             sensor_name: change_bed_sheets
             icon: mdi:bed
             warning_before: 2
             cycle_days: 24
.
.
.
.             

Hi @duceduc,

Hi have exactly the same problem, did you found any solution (other than switching to panel = false)?

no. I think I have read a post raising this issue on github, but don’t think it got any attention.