#I want to make the badges at the top of the screen be horizontally scrollable - card-mod?

1 messages · Page 1 of 1 (latest)

dusk dirge
#

I got some card-mod that i thought would work. I have tried every which way to get this working but if someone has this already then i would appreciate it.

views:
  - theme: Material You
    title: Home
    path: home
    icon: mdi:home
    card_mod:
      style: |
        hui-view-badges:
          $: |
            .badges {
              overflow-x: auto !important;
              white-space: nowrap !important;
              display: flex !important;
              flex-wrap: nowrap !important;
            }
    badges:

That's what I basically got. Whenever I edit the CSS of the badges directly, it seems to work in devtools but I can't get card mod to apply the styles

What am I doing wrong? Any help would be appreciated

ember current
dusk dirge
#

I posted there yesterday

ember current
#

In that case: please so not crosspost.

dusk dirge
#

All right, I didn't know if applied here since it was an integration

magic lavaBOT
#
Rule 7

Use the correct channels or threads for your messages. If there's a better place for the current conversation then use it, and don't post or link to the same thing in multiple places. Also check the description in each channel before posting, as extended rules may exist for that channel.