mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-29 04:06:35 +00:00
Sensor card hugging (#4887)
This commit is contained in:
parent
9d2a0c0502
commit
73934afc7d
@ -255,11 +255,11 @@ class HuiSensorCard extends LitElement implements LovelaceCard {
|
|||||||
<rect height="100%" width="100%" id="fill-rect" fill="var(--accent-color)" mask="url(#fill)"></rect>
|
<rect height="100%" width="100%" id="fill-rect" fill="var(--accent-color)" mask="url(#fill)"></rect>
|
||||||
<mask id="line">
|
<mask id="line">
|
||||||
<path
|
<path
|
||||||
fill="none"
|
fill="none"
|
||||||
stroke="var(--accent-color)"
|
stroke="var(--accent-color)"
|
||||||
stroke-width="5"
|
stroke-width="5"
|
||||||
stroke-linecap="round"
|
stroke-linecap="round"
|
||||||
stroke-linejoin="round"
|
stroke-linejoin="round"
|
||||||
d=${this._history}
|
d=${this._history}
|
||||||
></path>
|
></path>
|
||||||
</mask>
|
</mask>
|
||||||
@ -438,7 +438,7 @@ class HuiSensorCard extends LitElement implements LovelaceCard {
|
|||||||
|
|
||||||
.info {
|
.info {
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
margin: 16px;
|
margin: 0 16px 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#value {
|
#value {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user