mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Todo list layout fixes (#19150)
This commit is contained in:
parent
a2ffd0ae83
commit
3aa612b766
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user