Skip to content

Commit

Permalink
Fix entities alignment #60
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwroc committed May 21, 2020
1 parent e5d2444 commit f4142bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "battery-state-card",
"version": "1.3.3",
"version": "1.3.4",
"description": "Battery State card for Home Assistant",
"main": "dist/battery-state-card.js",
"repository": {
Expand Down
3 changes: 3 additions & 0 deletions src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
align-items: center;
margin: 8px 0;
}
.battery:first-child {
margin-top: 0;
}
.battery .name {
flex: 1 0 60px;
margin: 0 5px 0 16px;
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { HomeAssistant } from "./ha-types";

console.info(
"%c BATTERY-STATE-CARD %c 1.3.3",
"%c BATTERY-STATE-CARD %c 1.3.4",
"color: white; background: forestgreen; font-weight: 700;",
"color: forestgreen; background: white; font-weight: 700;",
);
Expand Down

0 comments on commit f4142bf

Please sign in to comment.