🔹 Card-mod - Super-charge your themes!

Edit: my bad, haven’t checked the subforum before posting :confused:

2025.10 broke the .secondary:after content trick:
pic

Notice how the part starting with ⸱ is on the new line. It should be (and has been prior to 2025.10) on the same line.

Any ideas how to fix that? Thanks

The card code:

type: custom:auto-entities
filter:
  include:
    - domain: automation
      options:
        type: tile
        icon: mdi:robot
        state_content: last_triggered
        hold_action:
          action: more-info
        tap_action:
          action: more-info
        double_tap_action:
          action: none
        layout: horizontal
        card_mod:
          style:
            ha-tile-info$: |
              .secondary:after {
                visibility: visible;
                content: "{% set area = area_name(config.entity) %} {% if area %} ⸱ {{ area }} {% endif %}";
              }
  exclude:
    - attributes:
        last_triggered: null
    - hidden_by: user
sort:
  method: last_triggered
  reverse: true
  ignore_case: false
  numeric: false
  count: 10
show_empty: true
card_param: cards
card:
  square: false
  columns: 1
  type: grid

Related post: Tile Card - Changing secondary info text using template - #15 by DeckardCain2014