On certain themes (e.g. emergency, prism) the bottom border of the card is partially clipped. Other themes (e.g. warning) render correctly. Zooming the browser in or out will randomly make it appear correct or broken — suggesting a sub-pixel rounding issue.
What we've tried:
Setting overflow: visible on all ancestor containers (column cells, parent button-card, middle section)
Setting overflow: visible via card_mod on ha-card, :host, and .atc-inner-clip
None of these had any effect, suggesting the clipping originates inside the card's own rendering
Hypothesis:
The theme's root div (e.g. .at-emergency) uses box-sizing: content-box, so the border renders outside the element's layout box. Sub-pixel rounding causes the border to occasionally fall just outside the clip boundary of .atc-inner-clip. Themes that use inset borders or box-shadow are not affected.
On certain themes (e.g. emergency, prism) the bottom border of the card is partially clipped. Other themes (e.g. warning) render correctly. Zooming the browser in or out will randomly make it appear correct or broken — suggesting a sub-pixel rounding issue.
What we've tried:
Setting overflow: visible on all ancestor containers (column cells, parent button-card, middle section)
Setting overflow: visible via card_mod on ha-card, :host, and .atc-inner-clip
None of these had any effect, suggesting the clipping originates inside the card's own rendering
Hypothesis:
The theme's root div (e.g. .at-emergency) uses box-sizing: content-box, so the border renders outside the element's layout box. Sub-pixel rounding causes the border to occasionally fall just outside the clip boundary of .atc-inner-clip. Themes that use inset borders or box-shadow are not affected.