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

Make sidebars either collapsible, or make them flow above/below page content on lower breakpoints. #79

Open
MrJoy opened this issue Aug 5, 2020 · 4 comments

Comments

@MrJoy
Copy link

MrJoy commented Aug 5, 2020

Is your feature request related to a problem? Please describe.

When I add a sidebar to a page, and I view the page on mobile, the sidebar takes up much of the available width.

Describe the solution you'd like

On mobile breakpoints, it would be nice if the sidebar either showed up inline, between the breadcrumb/action box and the page content, or below the page content. Alternatively, making it collapsible like the filters sidebar on index (but perhaps open by default) would be a good option.

Describe alternatives you've considered

N/A

Additional context

N/A

@mario-amazing
Copy link
Contributor

On mobile sidebar looks like:
image

@cprodhomme
Copy link
Owner

I will check it when i will have time but you can make a pull request :)

@MrJoy
Copy link
Author

MrJoy commented Apr 19, 2023

I'm currently transitioning my org from ActiveAdmin to Avo, so this isn't really a priority for us anymore. That said, I imagine it would be quite useful to people who continue to be invested in ActiveAdmin.

@nfedyashev
Copy link

I wanted to comment on the current(CSS-only) implementation of the collapsible sidebar,
it is currently impossible to show it without using mouse/trackpad and clicking on it, so accessibility hurts a bit

if it was a button tag instead, then it can be triggered without any issues.
If I'll find a simple way to fix it, I'll open a PR

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

No branches or pull requests

4 participants