Todo list layout fixes (#19150)

This commit is contained in:
Bram Kragten 2023-12-27 13:22:36 +01:00 committed by GitHub
parent a2ffd0ae83
commit 3aa612b766
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 7 deletions

View File

@ -584,9 +584,11 @@ class DialogCalendarEventEditor extends LitElement {
return [
haStyleDialog,
css`
ha-dialog {
--mdc-dialog-min-width: min(600px, 95vw);
--mdc-dialog-max-width: min(600px, 95vw);
@media all and (min-width: 450px and min-height: 500px) {
ha-dialog {
--mdc-dialog-min-width: min(600px, 95vw);
--mdc-dialog-max-width: min(600px, 95vw);
}
}
state-info {
line-height: 40px;

View File

@ -377,9 +377,11 @@ class DialogTodoItemEditor extends LitElement {
return [
haStyleDialog,
css`
ha-dialog {
--mdc-dialog-min-width: min(600px, 95vw);
--mdc-dialog-max-width: min(600px, 95vw);
@media all and (min-width: 450px and min-height: 500px) {
ha-dialog {
--mdc-dialog-min-width: min(600px, 95vw);
--mdc-dialog-max-width: min(600px, 95vw);
}
}
ha-alert {
display: block;

View File

@ -361,6 +361,7 @@ class PanelTodo extends LitElement {
flex-direction: row;
justify-content: center;
margin: 8px;
padding-bottom: 70px;
}
.column {
flex: 1 0 0;
@ -411,7 +412,7 @@ class PanelTodo extends LitElement {
display: block;
}
ha-fab {
position: absolute;
position: fixed;
right: 16px;
bottom: 16px;
}