Skip to content

Commit

Permalink
fix: frontend border to match new HA styles (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
regevbr authored Mar 13, 2023
1 parent 25b7eac commit 6f12032
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mini-climate-card",
"version": "v2.4.3",
"version": "v2.4.4",
"description": "a/c card for Home Assistant Lovelace UI",
"keywords": [
"home-assistant",
Expand Down
5 changes: 5 additions & 0 deletions release_notes/v2.4.4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## v2.4.4
[![Downloads](https://img.shields.io/github/downloads/artem-sedykh/mini-climate-card/v2.4.4/total.svg)](/~https://github.com/artem-sedykh/mini-climate-card/releases/tag/v2.4.4)

### Fixed
- fix: frontend border to match new HA styles by @SanchosPancho
7 changes: 6 additions & 1 deletion src/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,12 @@ const style = css`
-webkit-transform: translateZ(0);
transform: translateZ(0);
opacity: var(--mc-bg-opacity);
border-radius: var(--ha-card-border-radius, 0);
box-shadow: var(--ha-card-box-shadow, none);
box-sizing: border-box;
border-radius: var(--ha-card-border-radius, 12px);
border-width: var(--ha-card-border-width, 1px);
border-style: solid;
border-color: var(--ha-card-border-color, var(--divider-color, #e0e0e0) );
}
ha-card.--group .mc__bg {
background: none;
Expand Down

0 comments on commit 6f12032

Please sign in to comment.