[sidebar] set max-width for item-text (#4893)

This commit is contained in:
Ruslan Sayfutdinov 2020-02-17 04:23:25 +00:00 committed by GitHub
parent 1c86bd2f8b
commit 24e4b0b772
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -597,6 +597,7 @@ class HaSidebar extends LitElement {
paper-icon-item .item-text {
display: none;
max-width: calc(100% - 56px);
}
:host([expanded]) paper-icon-item .item-text {
display: block;