Skip to content

Commit

Permalink
Update energy-overview-card.ts
Browse files Browse the repository at this point in the history
SVG line was not responsive in smaller size, it has overflow on the left.
Removing height solved the issue, but aligned the svg lower to the bottom, which seemed to be fixed by adding 3px padding to the bottom.
  • Loading branch information
koger23 authored Jul 7, 2024
1 parent 6b1612d commit f0d850f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/energy-overview-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export class EnergyOverviewCard extends LitElement {
.line svg {
width: 100%;
height: 15px;
padding-bottom: 3px;
}
.line svg path {
Expand Down

0 comments on commit f0d850f

Please sign in to comment.