Skip to content

Commit

Permalink
Fixed layout issue
Browse files Browse the repository at this point in the history
  • Loading branch information
maziggy committed Nov 22, 2024
1 parent 85fe6b2 commit b1532a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/nicer-gauge-card.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ ReactDOM.render(
zIndex: 2, // Ensure the text is above the gauge and central circle
}}
>
<div style={{ fontSize: '1rem', marginTop: '45px' }}>{name}</div>
<div style={{ fontSize: '1rem', marginTop: '30px' }}>{name}</div>
<div style={{ fontSize: '1.8rem', marginTop: '5px' }}>{value.toFixed(1)}</div>
<div style={{ fontSize: '1rem', marginTop: '5px' }}>%</div>
</div>
Expand Down

0 comments on commit b1532a3

Please sign in to comment.