-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Hide sidebar on small screens when button is clicked #10409
Comments
Hey @TildaDares Can I work on this issue? |
Sure @ShivamJhaa |
Hello @TildaDares , I have a small doubt |
Hi @ShivamJhaa, have you tried using that style and it worked? |
@ShivamJhaa I think the reason why the |
I am using gitpod so I am not able to test this. |
So do I have to replace them with "d-sm-block, d-md-block"? |
@ShivamJhaa I'm not familiar with gitpod but there should be a way to view your changes on the browser or you can just tweak the CSS with Chrome dev tools. |
@TildaDares PTAL |
Thank you for teaching me something new @ShivamJhaa. I didn't know PTAL means Please Take Another Look 😅 |
Your welcome. |
Can I take up this issue, if it is still open? @TildaDares |
Hi @KarishmaVanwari, there’s a PR open for this already. Thanks! |
Okay |
…#10409 (publiclab#10482) * Fixed: Hide sidebar on small screens when button is clicked publiclab#10409 * Fixed: Hide sidebar on small screens when button is clicked publiclab#10409 * Fixed 10409 : Hide sidebar on small screens when button is clicked * Update sidebar.js * Updated * Updated * Updated * Update sidebar.js
When the
chevron-down
icon is clicked, the#sidebar
section is supposed to be hidden but currently it doesn't work. This only applies tosm
andmd
screens.You can see a demonstration of this in https://publiclab.org/questions/warren/01-04-2018/how-good-is-the-purpleair-sensor-and-what-does-it-detect
The relevant code needed for this change can be found in
plots2/app/assets/javascripts/sidebar.js
Lines 1 to 9 in 99f3520
plots2/app/views/sidebar/_question.html.erb
Lines 5 to 7 in 99f3520
The text was updated successfully, but these errors were encountered: