This is the code I used
- card: 'custom:mini-graph-card'
noPadding: true
cardOptions:
name: Humidity
entities:
- sensor.rm4_humidity
Use single quotes in the name, other than that it looks good to me, I don’t know if the css is causing the issue in this case