Hotfix to allow pages to scroll

This commit is contained in:
Keannu Christian Bernasol 2023-02-15 00:15:42 +08:00
parent 534993efc2
commit 32e7ab8830
3 changed files with 14 additions and 14 deletions

View file

@ -1,5 +1,6 @@
import React from "react";
import Sidebar from "../Sidebar/Sidebar";
import styles from "../../styles";
export interface props {
children: React.ReactNode;
@ -8,13 +9,11 @@ export interface props {
export default function Container(props: props) {
return (
<div>
<div style={{ display: "flex", flexDirection: "row" }}>
<div style={{ width: "85%", position: "fixed", left: "15%" }}>
{props.children}
</div>
<div>
<div style={{ width: "15%", position: "fixed" }}>
<Sidebar />
</div>
<div style={styles.route_wrapper}>{props.children}</div>
</div>
</div>
);