Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [0.12.1](https://github.com/kalkih/mini-graph-card/compare/v0.12.0...v0.12.1) (2024-03-20)


### Bug Fixes

* tooltip interval start could be after end ([#1065](https://github.com/kalkih/mini-graph-card/issues/1065)) ([930ee39](https://github.com/kalkih/mini-graph-card/commit/930ee39f51744bc11f580f4198f579b5213371ca)), closes [#181](https://github.com/kalkih/mini-graph-card/issues/181)

# [0.12.0](https://github.com/kalkih/mini-graph-card/compare/v0.11.0...v0.12.0) (2024-01-27)


Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This card is available in [HACS](https://hacs.xyz/) (Home Assistant Community St
2. Grab `mini-graph-card-bundle.js`:

```
$ wget https://github.com/kalkih/mini-graph-card/releases/download/v0.12.0/mini-graph-card-bundle.js
$ wget https://github.com/kalkih/mini-graph-card/releases/download/v0.12.1/mini-graph-card-bundle.js
```

3. Add the resource reference as decribed below.
Expand All @@ -37,7 +37,7 @@ If you configure Lovelace via YAML, add a reference to `mini-graph-card-bundle.j

```yaml
resources:
- url: /local/mini-graph-card-bundle.js?v=0.12.0
- url: /local/mini-graph-card-bundle.js?v=0.12.1
type: module
```

Expand All @@ -60,7 +60,7 @@ Else, if you prefer the graphical editor, use the menu to add the resource:

```yaml
resources:
- url: /local/mini-graph-card-bundle.js?v=0.12.0
- url: /local/mini-graph-card-bundle.js?v=0.12.1
type: module
```

Expand Down
2 changes: 1 addition & 1 deletion 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-graph-card",
"version": "0.12.0",
"version": "0.12.1",
"description": "A minimalistic and customizable graph card for Home Assistant Lovelace UI",
"keywords": [
"home-assistant",
Expand Down
4 changes: 4 additions & 0 deletions src/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ const style = css`
max-width: 100%;
min-width: 0;
}
.state > svg {
align-self: center;
border-radius: 100%;
}
.state--small {
font-size: .6em;
margin-bottom: .6rem;
Expand Down