mirror of
https://github.com/lemeow125/Ivy-Frontend.git
synced 2025-05-14 10:31:07 +08:00
Hotfix to allow pages to scroll
This commit is contained in:
parent
534993efc2
commit
32e7ab8830
3 changed files with 14 additions and 14 deletions
|
@ -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>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue