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 side panels collapsible #58

Open
Kronzky opened this issue Jun 2, 2024 · 0 comments
Open

Make side panels collapsible #58

Kronzky opened this issue Jun 2, 2024 · 0 comments

Comments

@Kronzky
Copy link

Kronzky commented Jun 2, 2024

Not sure if this is still in development, but it would be nice if we could collapse the side panels (for species & activity selection).
They take up quite a bit of room (nearly 50% of the screen) that could be used to display the map.
Once you've made your selection you don't really need those panels anyway, so it'd make sense to hide them until you want to change the selection.

Update: Here's a intermediate fix (if you have uBlock or something similar installed).
It'll keep the side panels small until you move your mouse over them, and then they expand.
Put the following lines into your custom filters, and you're all set:

mathartbang.com##:is(#control, #dropzone):style(width:150px!important)
mathartbang.com##:is(#control:hover, #dropzone:hover):style(width:300px!important)
mathartbang.com##.leaflet-right:style(width:100px!important)
mathartbang.com##.leaflet-right:hover:style(width:250px!important)
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