Skip to content

Commit c52579e

Browse files
committed
Power label alignment issue in no-battery case
1 parent 62c0ebc commit c52579e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

compact-power-card.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,6 +1122,11 @@ class CompactPowerCard extends (window.LitElement ||
11221122
display: none;
11231123
}
11241124
1125+
:host(.pv-as-battery) .pv-marker .node-label,
1126+
ha-card.pv-as-battery .pv-marker .node-label {
1127+
transform: translateY(-3px);
1128+
}
1129+
11251130
11261131
:host(.no-pv) #line-pv-grid,
11271132
:host(.no-pv) #line-pv-home,

0 commit comments

Comments
 (0)