Skip to content

Fix charts tooltip#7216

Merged
bramkragten merged 2 commits intohome-assistant:devfrom
noxhirsch:patch-2
Oct 12, 2020
Merged

Fix charts tooltip#7216
bramkragten merged 2 commits intohome-assistant:devfrom
noxhirsch:patch-2

Conversation

@noxhirsch
Copy link
Contributor

Breaking change

Proposed change

The tooltip of charts had a lot of whitespace because of the white-space: pre-line; which is needed to break the the lines of text.
Since there's always a line break before the text, because of the code formatter, the only solution here was to hide the first line.
I also adjusted the margin a little bit to make that part prettier.
Before:
Screenshot 2020-10-03 174437
After:
Screenshot 2020-10-03 181931

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example configuration

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue:
  • Link to documentation pull request:

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

@bramkragten bramkragten merged commit 557d6d3 into home-assistant:dev Oct 12, 2020
@bramkragten bramkragten mentioned this pull request Oct 21, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jul 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants