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

Add an option to show left sidebar collasped by default #944

Open
1 task done
BaBoWaGa opened this issue Sep 30, 2024 · 3 comments
Open
1 task done

Add an option to show left sidebar collasped by default #944

BaBoWaGa opened this issue Sep 30, 2024 · 3 comments
Assignees
Labels
feature New feature or request

Comments

@BaBoWaGa
Copy link

Checklist

  • I've searched through the current issues to make sure this feature hasn't been requested already.

Motivation

Perhaps I have not found where to change the possibility of having the tool menu, the left-hand sidebar, closed by default.

Suggested solution

It would be a good thing to be able to decide on this aspect of the suite as well

Alternatives considered

No response

@BaBoWaGa BaBoWaGa added the feature New feature or request label Sep 30, 2024
@volterra79
Copy link
Member

@BaBoWaGa please attach some images and write g3w-suite version that you have. Thanks

@Raruto Raruto changed the title Tool sidebar Add an option to show left sidebar collasped by default Oct 3, 2024
@Raruto
Copy link
Contributor

Raruto commented Oct 3, 2024

@BaBoWaGa currently not implemented (as g3w-admin option).

Right now, you can also add your own custom js to achieve the same result, eg:

if(!window.g3wadmin) document.body.classList.add('sidebar-collapse');

@wlorenzetti That option has existed within client template for a long time: ref: sidebar_collapse

https://github.com/g3w-suite/g3w-client/blob/8c3e7a36eeb82af699b5889e87f10c1abec0ef01/src/index.html#L18

👋 Raruto

@Raruto Raruto transferred this issue from g3w-suite/g3w-client Oct 3, 2024
@BaBoWaGa
Copy link
Author

Thank you sorry for the delay 😣

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

No branches or pull requests

3 participants