mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Scroll todo list if it overflows grid_layout (#24000)
This commit is contained in:
parent
8b0e6eed3a
commit
b7c7d0b4b5
@ -286,7 +286,7 @@ export class HuiTodoListCard extends LitElement implements LovelaceCard {
|
|||||||
this._todoListSupportsFeature(
|
this._todoListSupportsFeature(
|
||||||
TodoListEntityFeature.MOVE_TODO_ITEM
|
TodoListEntityFeature.MOVE_TODO_ITEM
|
||||||
)
|
)
|
||||||
? html`<ha-button-menu @closed=${stopPropagation}>
|
? html`<ha-button-menu @closed=${stopPropagation} fixed>
|
||||||
<ha-icon-button
|
<ha-icon-button
|
||||||
slot="trigger"
|
slot="trigger"
|
||||||
.path=${mdiDotsVertical}
|
.path=${mdiDotsVertical}
|
||||||
@ -330,7 +330,7 @@ export class HuiTodoListCard extends LitElement implements LovelaceCard {
|
|||||||
${this._todoListSupportsFeature(
|
${this._todoListSupportsFeature(
|
||||||
TodoListEntityFeature.DELETE_TODO_ITEM
|
TodoListEntityFeature.DELETE_TODO_ITEM
|
||||||
)
|
)
|
||||||
? html`<ha-button-menu @closed=${stopPropagation}>
|
? html`<ha-button-menu @closed=${stopPropagation} fixed>
|
||||||
<ha-icon-button
|
<ha-icon-button
|
||||||
slot="trigger"
|
slot="trigger"
|
||||||
.path=${mdiDotsVertical}
|
.path=${mdiDotsVertical}
|
||||||
@ -648,6 +648,7 @@ export class HuiTodoListCard extends LitElement implements LovelaceCard {
|
|||||||
ha-card {
|
ha-card {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.has-header {
|
.has-header {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user