Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unwanted padding #70

Open
beshoo opened this issue Jul 13, 2020 · 2 comments
Open

Unwanted padding #70

beshoo opened this issue Jul 13, 2020 · 2 comments

Comments

@beshoo
Copy link

beshoo commented Jul 13, 2020

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

@kevinfaveri
Copy link
Owner

I will address this as soon as possible.

@beshoo
Copy link
Author

beshoo commented Jul 20, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants