.sidebarHiddenPage { display: flex; flex-direction: column; overflow-y: auto; width: 100%; height: 100%; } .spinner { margin: auto; }