Fix drag and drop entities on firefox (#13518)
This commit is contained in:
parent
8fd99fcb15
commit
e861460318
|
@ -74,7 +74,9 @@ export class HuiEntitiesCardRowEditor extends LitElement {
|
|||
: this.entities!.map(
|
||||
(entityConf, index) => html`
|
||||
<div class="entity">
|
||||
<ha-svg-icon class="handle" .path=${mdiDrag}></ha-svg-icon>
|
||||
<div class="handle">
|
||||
<ha-svg-icon .path=${mdiDrag}></ha-svg-icon>
|
||||
</div>
|
||||
${entityConf.type
|
||||
? html`
|
||||
<div class="special-row">
|
||||
|
@ -277,6 +279,9 @@ export class HuiEntitiesCardRowEditor extends LitElement {
|
|||
padding-inline-start: initial;
|
||||
direction: var(--direction);
|
||||
}
|
||||
.entity .handle > * {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.entity ha-entity-picker {
|
||||
flex-grow: 1;
|
||||
|
|
Loading…
Reference in New Issue