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

Input display position is off for narrow viewports #378

Open
belg4mit opened this issue May 29, 2024 · 1 comment
Open

Input display position is off for narrow viewports #378

belg4mit opened this issue May 29, 2024 · 1 comment

Comments

@belg4mit
Copy link

If I have a narrow window, such as an older phone e.g; 500px; the input field is positioned far to the right of the control, outside of the current viewport, like this:

Screenshot 2024-05-29 144635

@belg4mit
Copy link
Author

Here is a partial fix (for a 150x150 knob) that makes the control usable, you'll need to adjust as needed:
jQuery('.ControlContainer > div').css({ "position": "relative", "display": "block" });
jQuery('.ControlContainer input').css({"top": "50%", "margin-top": "-25px", "left": "50%", "margin-left": "-40px" });

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

1 participant