-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unnecessary Line Wrapping in Lovelace Light Card #3964
Comments
Sounds like an easy hacktoberfest issue if you want to take a stab at it |
Happy to submit the PR, but wanted to see what the preferred Is 90% good enough or should I be using some other variable/keyword? |
I think that's fine. Others might chime in when you submit a PR (css is not my forte either 😄 ) |
You can also just set |
@JeroenGoddijn -- Tried this in DevTools and it had no effect. |
Sorry, was just going off by what I saw in here... haven't had a chance to change my light dimmers to these cards yet.. Need to make some time to set up new clean dev environment and knock out some Hacktoberfest issues too... ;o) |
NP. I went with @bramkragten's suggestion in the PR (#3972)... Trying to knock out as many of my backlog issues for Hacktoberfest too |
@shbatm there's no shortage of them :) |
Home Assistant release with the issue:
Hass: v0.100.0b1
Frontend: 20191002.0
Last working Home Assistant release (if known):
UI (States or Lovelace UI?):
Lovelace
Browser and Operating System:
Chrome / Windows 10
Description of problem:
For longer entity friendly names, the Light entity card is wrapping the name when there is plenty of room in the card to display the whole thing. It appears that there is no
'width'
setting set on thename
class. Adding something likewidth: 90%;
orwidth: fit-content;
in Chrome DevTools corrects the issue.Before:
After:
Javascript errors shown in the web inspector (if applicable):
Additional information:
Suggest adding
width: 90%;
at this lineThe text was updated successfully, but these errors were encountered: