Hey there,
I’m just migrating my frontend to lovelace and I’m facing some font size issues. It seems, that the card title aren’t wrapped in the same way which leads to different font-sizes for the card title.
Here’s what it looks like:
Here’s the code from my ui-lovelace.yaml:
- path: 3
title: Debug
icon: mdi:bug-outline
cards:
- type: glance
title: Wohnzimmer
column_width: calc(100%/3)
show_state: false
entities:
- entity: scene.fernsehabend
- entity: switch.subwoofer
- entity: binary_sensor.fernseher_wohnzimmer
name: Fernseher
- entity: binary_sensor.receiver_wohnzimmer
- type: entities
title: Bewegungsmelder
show_header_toggle: false
entities:
- binary_sensor.motion_sensor_123
- binary_sensor.motion_sensor_456
- binary_sensor.motion_sensor_789
- binary_sensor.motion_sensor_abc
- binary_sensor.motion_sensor_def
The glance card renders the title “Wohnzimmer” correctly (just wrapped it in a div with class ‘header’). The entities card renders with a much smaller font size for the title “Bewegungsmelder”. The title of “entities cards” is wrapped in a div with class ‘name’ (which is a child element of a div with class ‘header’).
So, did I configure something wrong or is this a bug?
Greetings,
Michael