mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +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 [
|
return [
|
||||||
haStyleDialog,
|
haStyleDialog,
|
||||||
css`
|
css`
|
||||||
ha-dialog {
|
@media all and (min-width: 450px and min-height: 500px) {
|
||||||
--mdc-dialog-min-width: min(600px, 95vw);
|
ha-dialog {
|
||||||
--mdc-dialog-max-width: min(600px, 95vw);
|
--mdc-dialog-min-width: min(600px, 95vw);
|
||||||
|
--mdc-dialog-max-width: min(600px, 95vw);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
state-info {
|
state-info {
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
|
@ -377,9 +377,11 @@ class DialogTodoItemEditor extends LitElement {
|
|||||||
return [
|
return [
|
||||||
haStyleDialog,
|
haStyleDialog,
|
||||||
css`
|
css`
|
||||||
ha-dialog {
|
@media all and (min-width: 450px and min-height: 500px) {
|
||||||
--mdc-dialog-min-width: min(600px, 95vw);
|
ha-dialog {
|
||||||
--mdc-dialog-max-width: min(600px, 95vw);
|
--mdc-dialog-min-width: min(600px, 95vw);
|
||||||
|
--mdc-dialog-max-width: min(600px, 95vw);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
ha-alert {
|
ha-alert {
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -361,6 +361,7 @@ class PanelTodo extends LitElement {
|
|||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin: 8px;
|
margin: 8px;
|
||||||
|
padding-bottom: 70px;
|
||||||
}
|
}
|
||||||
.column {
|
.column {
|
||||||
flex: 1 0 0;
|
flex: 1 0 0;
|
||||||
@ -411,7 +412,7 @@ class PanelTodo extends LitElement {
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
ha-fab {
|
ha-fab {
|
||||||
position: absolute;
|
position: fixed;
|
||||||
right: 16px;
|
right: 16px;
|
||||||
bottom: 16px;
|
bottom: 16px;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user