Logo in Sidebar

Hi, I have a brand logo which is set using ->brandLogo() on the AppPanelProvider and I also have the sidebar set as collapsable using ->sidebarCollapsibleOnDesktop() However, when I collapse the sidebar, the logo disappears. I'd expect it to stay. I've looked in the docs but can't find anything related. Any ideas on how to keep it showing even when collapsed? See attached screenshots Thanks
No description
No description
7 Replies
WI6HT
WI6HT2mo ago
I was wondering the same thing or better yet; can you add a mobile logo for when nav is collapsed?
Adam Holmes
Adam Holmes2mo ago
Agree this would be better to have a desktop and mobile logo. That means you could have a full logo on desktop and say just an icon on mobile.
toeknee
toeknee2mo ago
@Zep Fietje any reason why we haven't? We could have a brandLogoClosed() type too?
awcodes
awcodes2mo ago
Because it would break the layout. You still have to have a button to open it. And there’s only room for one button in this particular use case.
toeknee
toeknee2mo ago
The header isn't used on a mobiles really is it? So can the close icon not be offset to the right?
awcodes
awcodes2mo ago
The pictures provided are showing the collapsible on desktop option. That’s what I was referring to.
adic1040
adic10402mo ago
It is possible to achieve this using Render Hooks. I'm using "topNavigation" so I've added the logo using "TOPBAR_START" and the menu button using "TOPBAR_END". The original menu button was hidden with CSS hooks
Want results from more Discord servers?
Add your server
More Posts