Skip to content

Commit

Permalink
Issue #47 - Temp unit of measure font size too big
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Marc Collin committed Jan 25, 2025
1 parent d6e5930 commit 2a52ef1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/const.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const CARD_VERSION = '1.1.1';
export const CARD_VERSION = '1.1.2';
2 changes: 1 addition & 1 deletion src/versatile-thermostat-ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,7 @@ export class VersatileThermostatUi extends LitElement implements LovelaceCard {
/>` : ''}
<text class="main-value" x="${x}" y="${y}" dominant-baseline="middle" text-anchor="middle" style="font-size:${fontSize}px;">
${svg`${value}`}
<tspan dx="${dx}" dy="${dy}" style="font-size: 5px;">
<tspan dx="${dx}" dy="${dy}" style="font-size: 3px;">
${svg`
${this.hass.config.unit_system.temperature}
`}
Expand Down

0 comments on commit 2a52ef1

Please sign in to comment.