mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 01:06:35 +00:00
Fix tracing graph on iOS (#9897)
This commit is contained in:
parent
67ab63f00e
commit
2fae0d2d95
@ -153,7 +153,7 @@ export class HatGraphBranch extends LitElement {
|
|||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
::slotted([slot="head"]) {
|
::slotted([slot="head"]) {
|
||||||
margin-bottom: calc(var(--hat-graph-branch-height) / -2);
|
margin-bottom: calc(var(--hat-graph-branch-height) / -2px);
|
||||||
}
|
}
|
||||||
#lines {
|
#lines {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -90,10 +90,12 @@ export class HatGraphNode extends LitElement {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: calc(var(--hat-graph-node-size) + var(--hat-graph-spacing));
|
width: calc(var(--hat-graph-node-size) + var(--hat-graph-spacing));
|
||||||
height: calc(var(--hat-graph-node-size) + var(--hat-graph-spacing) + 1);
|
height: calc(
|
||||||
|
var(--hat-graph-node-size) + var(--hat-graph-spacing) + 1px
|
||||||
|
);
|
||||||
}
|
}
|
||||||
:host([graphStart]) {
|
:host([graphStart]) {
|
||||||
height: calc(var(--hat-graph-node-size) + 2);
|
height: calc(var(--hat-graph-node-size) + 2px);
|
||||||
}
|
}
|
||||||
:host([track]) {
|
:host([track]) {
|
||||||
--stroke-clr: var(--track-clr);
|
--stroke-clr: var(--track-clr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user