home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
4.07k stars 2.79k forks source link

history-graph: inconsistency with font-weight #18262

Open ildar170975 opened 1 year ago

ildar170975 commented 1 year ago

Checklist

Describe the issue you are experiencing

Add a new view with this card:

type: history-graph
show_names: false
hours_to_show: 24
entities:
  - entity: sun.sun

изображение Note that font-width for the values "Above horizon", "Below horizon" is NOT bold.

Then select a Panel mode for the view. Now the font-width is bold: изображение

Check a History page - it is not bold: изображение

Then check with a vertical-stack:

      - type: vertical-stack
        cards:
          - type: history-graph
            show_names: false
            hours_to_show: 24
            entities:
              - entity: sun.sun
          - type: history-graph
            show_names: false
            hours_to_show: 24
            entities:
              - entity: sun.sun

Again not bold: изображение

And again bold in Panel mode: изображение

Then check with a horizontal-stack:

      - type: horizontal-stack
        cards:
          - type: history-graph
            show_names: false
            hours_to_show: 24
            entities:
              - entity: sun.sun
          - type: history-graph
            show_names: false
            hours_to_show: 24
            entities:
              - entity: sun.sun

It is bold: изображение

And not bold in Panel mode: изображение

Is there any logic in this behaviour?

Describe the behavior you expected

font-width should be same for all history-graph cards.

Steps to reproduce the issue

as above

What version of Home Assistant Core has the issue?

2023.10.2

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

Chrome 118.0.5993.71

Which operating system are you using to run this browser?

Win10x64

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

github-actions[bot] commented 10 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

ildar170975 commented 10 months ago

up

github-actions[bot] commented 7 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

ildar170975 commented 7 months ago

up

github-actions[bot] commented 4 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

ildar170975 commented 3 months ago

Up

github-actions[bot] commented 3 weeks ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

ildar170975 commented 3 weeks ago

Up