html { width: 100%; height: 100%; } body { display: flex; flex-direction: row; height: 100%; } .page_body { padding: 3rem; overflow-y: scroll; }