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

Fix qtip viewport overflow. #1133

Merged
merged 3 commits into from
Aug 13, 2023
Merged

Fix qtip viewport overflow. #1133

merged 3 commits into from
Aug 13, 2023

Conversation

canklot
Copy link
Contributor

@canklot canklot commented Aug 11, 2023

The qtips under the permissons was overflowing left of the screen and only half of the text was readable. To activate position.adjust.method plugin, I added the viewport option. Also changed default adjust method to shift instead of flip.

The qtips under the permissons was overflowing left of the screen and only half of the text was readable. To activate position.adjust.method plugin, I added the viewport option. Also changed default adjust method to shift instead of flip.
@canklot
Copy link
Contributor Author

canklot commented Aug 11, 2023

Here are the screen shots of before and after:

before
after

@@ -1924,7 +1924,7 @@ QTIP.defaults = {
mouse: TRUE,
scroll: TRUE,
resize: TRUE,
method: 'flipinvert flipinvert'
method: 'shift shift'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is changing the defaults in the vendored code necessary? Why not add to app.coffee as done with viewport?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reverted my last commit and did the changes only on app.coffe

I reverted my last commit on vendor code and did the changes on app.coffe.
@mlinksva mlinksva merged commit b3ef4f4 into github:gh-pages Aug 13, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants