-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
ha-switch without text is causing unwanted scrollbar #5084
Comments
It is not the lack of text that causes this, but the margin (right) of the switch. The ripple probably gets too big. We have to wait for |
@bramkragten is this reported as a bug? If yes could you please link the issue. |
I have not filled one, if there is none could you do that maybe? |
https://github.com/material-components/material-components-web-components is the correct repo? |
Yes :-) |
@bramkragten it would be awesome if the demo site would show users in view visibility tab. This would help with presenting the bug to mwc team. Is this possible to add? |
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. |
Checklist
The problem
While working on view visibility editor I noticed that when shadow dom of
ha-switch
is empty I get an unwanted scrollbar.As a quick fix I'm using
:This cause unwanted scrollbar to appear:
Affected PR: https://github.com/home-assistant/frontend/pulls
Expected behavior
ha-switch
without text shouldn't cause unwanted scrollbars to appear.Steps to reproduce
Environment
Problem-relevant configuration
Javascript errors shown in your browser console/inspector
Additional information
The text was updated successfully, but these errors were encountered: