->collapsedSidebarWidth() not taking effect
What I am trying to do:Adjust the width of the collapsed sidebar.
What I did:Used
->collapsedSidebarWidth()
with different values (like '9rem'
) as in the example at https://filamentphp.com/docs/3.x/panels/navigation#customizing-the-width-of-the-sidebar
My issue/the error:The width of the collapsed sidebar does not change. Looking in
vendor/filament/filament/resources/views/components/sidebar/index.blade.php
I do see references to w-[--sidebar-width]
, but not to w-[--collapsed-sidebar-width]
.
Am I doing something wrong, or is this a bug?
Code:
2 Replies
Yeah, looks like a bug.
Can you open an issue on GitHub please?
Will do! 👍