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

mushra: align sliders to buttons #13

Open
pilarOG opened this issue Apr 15, 2021 · 1 comment
Open

mushra: align sliders to buttons #13

pilarOG opened this issue Apr 15, 2021 · 1 comment

Comments

@pilarOG
Copy link

pilarOG commented Apr 15, 2021

Hi, some of my participants were complaining that the sliders don't align well with the buttons for the MUSHRA test. This is how they are looking like:
Screen Shot 2021-04-15 at 19 34 43

To fix this you need to add this line to the JS code of the question in the combined template:
jQuery("#"+this.questionId+" .track").css({"margin-top": "30px"})

And it'll look like this:
Screen Shot 2021-04-15 at 19 34 55

In case anyone wanted to adjust it :)

@evelyndjwilliams
Copy link
Contributor

Hi Pilar, thanks for this. This problem only exists in the Flat and Modern layouts, so adding this JS bumps the sliders out of alignment in the Classic layout. I'll try to find a general fix to add to the template! 😊

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