apexcharts-card icon indicating copy to clipboard operation
apexcharts-card copied to clipboard

Missing space between value and unit in header

Open bigboban opened this issue 1 year ago • 2 comments

Checklist

  • [ x] I updated the card to the latest version available
  • [x ] I cleared the cache of my browser
  • [x ] I verified that I'm really running the lastest version in my browser console
  • [x ] I checked if there is another issue opened with the same problem

Describe the bug There is missing space between number value and unit in header. See pic.

Version of the card Version: 2.0.4

To Reproduce This is the configuration I used:


type: custom:apexcharts-card
header:
  show: true
  title: ''
  show_states: true
  colorize_states: true
series:
  - entity: sensor.senseair_co2_value
    show:
      legend_value: false
    stroke_width: 2
  - entity: sensor.netatmo_bobo_netatmo_indoor_co2
    stroke_width: 2
    show:
      legend_value: false


Screenshots

image

Expected behavior I expect space between number and unit.

Desktop (please complete the following information):

  • Browser Chrome
  • Version 120.0.6099.130

bigboban avatar Jan 01 '24 19:01 bigboban

I would guess that this is per design as the unit is displayed in a different style and slightly subscripted. Generally there is a space between value and unit, I agree. But this might just be per design here.

AleXSR700 avatar Jan 04 '24 23:01 AleXSR700

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.

github-actions[bot] avatar Mar 05 '24 01:03 github-actions[bot]

This issue was closed because it has been stalled for 10 days with no activity.

github-actions[bot] avatar Mar 15 '24 02:03 github-actions[bot]