AmoebeLabs / AmoebeLabs/flex-horseshoe-card

Hline (hlines option) protrudes

未关闭
#109 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
397
派生
66
平均合并
7 分钟
30 天内合并 PR
81

描述

I am sorry if this issue was previously discussed.

As shown in the snapshot below, horizontal line is extended to come up to the horseshoe (both sides). This snapshot was taken from the dashboard.

![Image](https://github.com/user-attachments/assets/4b6c7939-a923-45e3-9ac4-0cedcacc66ca)

Strangely, the line does not protrude in the editing dialog of the card (see below).

![Image](https://github.com/user-attachments/assets/0f028f7b-0f50-4aff-ba14-aa70b138cb0f)

Here is the YAML setting;
```yaml
`type: custom:flex-horseshoe-card
entities:
- entity: sensor.thi_living
decimals: 0
name: Living
area: Living
- entity: sensor.living_sensor
attribute: temperature
decimals: 0
unit: °C
- entity: sensor.living_sensor_humidity_2
attribute: humidity
decimals: 0
unit: "%"
show:
horseshoe_style: lineargradient
scale_tickmarks: false
layout:
hlines:
- id: 0
xpos: 50
ypos: 36
length: 15
styles:
- stroke: var(--primary-text-color);
- stroke-width: 2;
- stroke-linecap: round;
- opacity: 0.7;
states:
- id: 0
entity_index: 0
xpos: 50
ypos: 30
styles:
- font-size: 2em;
- id: 1
entity_index: 1
xpos: 17
ypos: 58
styles:
- text-anchor: start;
- font-size: 3em;
- id: 2
entity_index: 2
xpos: 55
ypos: 58
styles:
- text-anchor: start;
- font-size: 3em;
areas:
- id: 0
entity_index: 0
xpos: 50
ypos: 80
styles:
- font-size: 1.5em;
- opacity: 1;
horseshoe_scale:
min: 45
max: 90
color_stops:
"45": aqua
"90": orange
card_filter: card--dropshadow-light`
```
This is not a serious issue, but I will be happy if you fix this.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。