vue-twemoji-picker icon indicating copy to clipboard operation
vue-twemoji-picker copied to clipboard

Unwanted padding

Open beshoo opened this issue 4 years ago • 2 comments

How can I remove this padding image it seems a top CSS has to be -10 but when the script adjusts it it make it ether auto or zero!

Please advice

beshoo avatar Jul 13 '20 02:07 beshoo

I will address this as soon as possible.

kevinfaveri avatar Jul 17 '20 13:07 kevinfaveri

In the vanilla version, I fixed that by adding -10 to this function


 function c(e) {
        var t = e.getBoundingClientRect();
        return {
            width: t.width,
            height: t.height,
            top: t.top -10,
            right: t.right,
            bottom: t.bottom,
            left: t.left,
            x: t.left,
            y: t.top
        }

But I can not locate this function on the GitHub version! @kevinfaguiar

beshoo avatar Jul 20 '20 03:07 beshoo