Add min width to toolbar icon to prevent tabs jumping (#5590)

This commit is contained in:
Bram Kragten 2020-04-24 10:36:14 +02:00 committed by GitHub
parent 32c7c0b4f0
commit 2503fabe1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -228,6 +228,10 @@ class HassTabsSubpage extends LitElement {
min-width: 0; min-width: 0;
} }
:host(:not([narrow])) #toolbar-icon {
min-width: 40px;
}
ha-menu-button, ha-menu-button,
ha-paper-icon-button-arrow-prev, ha-paper-icon-button-arrow-prev,
::slotted([slot="toolbar-icon"]) { ::slotted([slot="toolbar-icon"]) {