mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-18 23:06:40 +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(
|
||||
(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…
x
Reference in New Issue
Block a user