Fix buttons (#18472)

This commit is contained in:
Bram Kragten 2023-10-30 13:56:48 +01:00 committed by GitHub
parent 71e05f79c2
commit 42be3b331c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -21,8 +21,7 @@ export class HaButton extends Button {
display: flex;
}
.slot-container {
width: 100%;
overflow: hidden;
overflow: var(--button-slot-container-overflow, visible);
}
`,
];

View File

@ -349,6 +349,7 @@ class PanelTodo extends LitElement {
max-width: 100%;
}
ha-button-menu ha-button {
--button-slot-container-overflow: hidden;
max-width: 100%;
--mdc-theme-primary: currentColor;
--mdc-typography-button-text-transform: none;