Minimize Sidebar to just icons

Is there any home assistant service that can be used to minimize the sidebar to just icons ? I dont want it to be expanded with new logins.