tweak popup left margin for consistency
This commit is contained in:
parent
19be113cb4
commit
6d6b03dfe2
|
@ -15,7 +15,7 @@ export function calcPopupPosition(el: HTMLElement, props: {
|
||||||
const contentWidth = el.offsetWidth;
|
const contentWidth = el.offsetWidth;
|
||||||
const contentHeight = el.offsetHeight;
|
const contentHeight = el.offsetHeight;
|
||||||
|
|
||||||
const LEFT_MARGIN = 4;
|
const LEFT_MARGIN = 2;
|
||||||
|
|
||||||
let rect: DOMRect;
|
let rect: DOMRect;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue