Consistent sortable cursor (#18897)

This commit is contained in:
karwosts 2023-12-05 01:45:20 -08:00 committed by GitHub
parent 92bce4078f
commit b8d0c7f7c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -207,7 +207,7 @@ export class DialogAreaFilter
color: var(--disabled-text-color); color: var(--disabled-text-color);
} }
.handle { .handle {
cursor: grab; cursor: move;
} }
.actions { .actions {
display: flex; display: flex;

View File

@ -348,7 +348,7 @@ export class HuiTodoListCard extends LitElement implements LovelaceCard {
.title=${this.hass!.localize( .title=${this.hass!.localize(
"ui.panel.lovelace.cards.todo-list.drag_and_drop" "ui.panel.lovelace.cards.todo-list.drag_and_drop"
)} )}
class="reorderButton" class="reorderButton handle"
.path=${mdiDrag} .path=${mdiDrag}
> >
</ha-svg-icon> </ha-svg-icon>
@ -598,6 +598,10 @@ export class HuiTodoListCard extends LitElement implements LovelaceCard {
direction: var(--direction); direction: var(--direction);
} }
.handle {
cursor: move;
}
ha-checkbox { ha-checkbox {
margin-left: -12px; margin-left: -12px;
margin-inline-start: -12px; margin-inline-start: -12px;