0👍
Seems like the sidebar has fixed
or absolute
positioning applied. This takes the sidebar out of a normal flow of the webpage and simply positions it relative to the browser window / closest positioned parent. Two solutions come to mind here:
- Apply fixed width to the sidebar and at the same time apply left margin of the same size to the content.
- Override the sidebar’s css and use
position: static
. Now the sidebar is again part of the regular page flow and you can display it next to the content (easily doable by making their parent a flex container – applyingdisplay: flex
property to the#app
is a good start here).
Source:stackexchange.com