mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 15:26:36 +00:00
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(
|
: this.entities!.map(
|
||||||
(entityConf, index) => html`
|
(entityConf, index) => html`
|
||||||
<div class="entity">
|
<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
|
${entityConf.type
|
||||||
? html`
|
? html`
|
||||||
<div class="special-row">
|
<div class="special-row">
|
||||||
@ -277,6 +279,9 @@ export class HuiEntitiesCardRowEditor extends LitElement {
|
|||||||
padding-inline-start: initial;
|
padding-inline-start: initial;
|
||||||
direction: var(--direction);
|
direction: var(--direction);
|
||||||
}
|
}
|
||||||
|
.entity .handle > * {
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
.entity ha-entity-picker {
|
.entity ha-entity-picker {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user