fix buttons at bottom of entity settings dialog (#13517)

This commit is contained in:
Bram Kragten 2022-08-29 22:56:57 +02:00 committed by GitHub
parent 3648c8c07a
commit 260855abbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1043,6 +1043,7 @@ export class EntityRegistrySettings extends SubscribeMixin(LitElement) {
css` css`
:host { :host {
display: block; display: block;
margin-bottom: 60px;
} }
.container { .container {
padding: 20px 24px; padding: 20px 24px;
@ -1054,6 +1055,11 @@ export class EntityRegistrySettings extends SubscribeMixin(LitElement) {
justify-content: space-between; justify-content: space-between;
padding-bottom: max(env(safe-area-inset-bottom), 24px); padding-bottom: max(env(safe-area-inset-bottom), 24px);
background-color: var(--mdc-theme-surface, #fff); background-color: var(--mdc-theme-surface, #fff);
position: absolute;
bottom: 0;
width: 100%;
border-top: 1px solid var(--divider-color);
} }
ha-select { ha-select {
width: 100%; width: 100%;