### Steps to reproduce 1. Create a space 2. Open the space 3. Change the width of the browser window ### Outcome #### What did you expect? The button inside the header should be wrapped, keeping the margin around the buttons as below: https://user-images.githubusercontent.com/3362943/158017381-c6ceb099-0640-4e13-9646-3addef832b57.mp4 #### What happened instead? https://user-images.githubusercontent.com/3362943/158017383-ee0849a7-0ebd-431a-9c2f-d8a529b54cf0.mp4 ### Operating system _No response_ ### Browser information _No response_ ### URL for webapp localhost ### Application version develop branch ### Homeserver _No response_ ### Will you send logs? No