Hi all,
does anyone know how to eleminate the space between promary and secondary line?
type: tile
entity: input_boolean.alert_open_cupra_window
name: Fenster
show_state: false # verhindert die dritte Status-Zeile
card_mod:
style:
ha-tile-info$: |
/* Nur Primärzeile nutzen */
.primary {
visibility: hidden;
}
.primary:before {
visibility: visible;
display: block;
font-size: 16px;
font-weight: bold;
color: red;
content: "Fenster geöffnet";
}
.primary:after {
visibility: visible;
display: block;
font-size: 12px;
font-style: italic;
color: green;
content: "Status: Testlauf";
}
/* Sekundärzeile komplett entfernen */
.secondary {
display: none !important;
visibility: hidden !important;
height: 0 !important;
margin: 0 !important;
padding: 0 !important;
}
