bar-card
bar-card copied to clipboard
Weird border around a bar-card after 2022.11
A border is displayed around a bar-card placed inside Entities card after 2022.11:
type: entities
entities:
- type: custom:bar-card
entity: sensor.processor_use
entity_row: true
- type: custom:bar-card
entity: sensor.processor_use
entity_row: false
This border also conflicts with a default radius for the bar-card:
since the
--ha-card-border-radius
var is undefined by default.
Proposal - do not show a border at all.
Meanwhile this may be fixed by card-mod:
type: entities
title: Removing a border
entities:
- type: custom:bar-card
title: default
entity: sensor.memory_use_percent
- type: custom:bar-card
title: card-mod
entity: sensor.memory_use_percent
card_mod:
style: |
ha-card {
--ha-card-border-width: 0px;
}