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

Manually repositioning drop when generated calculation is off? #152

Open
stewhouston opened this issue Jun 29, 2016 · 1 comment
Open

Manually repositioning drop when generated calculation is off? #152

stewhouston opened this issue Jun 29, 2016 · 1 comment

Comments

@stewhouston
Copy link

Several times the calculated position generated for my drops are slightly off. I've attempted applying a class to the drop and then specifying margins, but the behavior is odd and inconsistent. Referencing the the image below which has the 'position' set to 'top left'.

Drop Off

It seems like it should be a relatively easy task to set the margin-left of the drop to -10px so the arrow is centered with the icon, but I don't know how to do this in a way that works well with the code.

@awerlang
Copy link

Use tetherOptions.offset:

tetherOptions: {
    offset: '0 20px',
},

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

No branches or pull requests

2 participants