aymanalhattami / filament-page-with-sidebar

Organize pages in the sidebar in order to make navigation between pages more comfortable.
https://github.com/aymanalhattami/filament-page-with-sidebar
MIT License
175 stars 22 forks source link

Collapsible sidebar #2

Closed Dontorpedo closed 1 year ago

Dontorpedo commented 1 year ago

is it or will it be possible to make the sidebar collapsible?

thanks

akunbeben commented 1 year ago

I see it is collapsible and inherits the behavior of the filament.sidebar element, but I think it would be very nice to have independent collapsible behavior on it.

I've tested it here

Normal

![image](https://user-images.githubusercontent.com/46495960/233455376-0a50cce9-60f3-4a81-aacc-cd5d0c43c489.png)

Collapsed

![image](https://user-images.githubusercontent.com/46495960/233455430-4ea1092c-9a90-431c-be71-f9c24c68f6ed.png)

Still figuring out how I can achieve this, I will create a PR if I find a good solution.

aymanalhattami commented 1 year ago

Ok, I will fix it.

Or if you found a solution, you can make PR

aymanalhattami commented 1 year ago

It has been fixed