Skip to content

Commit 4fad653

Browse files
author
Adam Argyle
committed
fixes regression in hover margin/padding left item size badge
1 parent adb8aba commit 4fad653

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/selection/distance.element.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class Distance extends HTMLElement {
2121
set styleProps({y,x,d,q,v = false, color}) {
2222
this.style.setProperty('--top', `${y + window.scrollY}px`)
2323
this.style.setProperty('--right', q === 'left' ? `${x}px` : 'auto')
24-
this.style.setProperty('--left', q !== 'left' ? `${x}px` : 'auto')
24+
this.style.setProperty('--left', q !== 'left' ? `${x}px` : '')
2525
this.style.setProperty('--direction', v ? 'column' : 'row')
2626
this.style.setProperty('--quadrant', q)
2727

0 commit comments

Comments
 (0)