blob: 47ed9cc331d7e3333ed4ccd1dc5e8a2ac2922422 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
import styled from "styled-components";
import { defaultBorderRadius } from ".";
import { Outlet } from "react-router-dom";
const LayoutTopDiv = styled.div`
height: 100%;
border-radius: ${defaultBorderRadius};
scrollbar-base-color: transparent;
scrollbar-width: thin;
`;
const Layout = () => {
return (
<LayoutTopDiv>
<div
style={{
scrollbarGutter: "stable both-edges",
minHeight: "100%",
display: "grid",
gridTemplateRows: "1fr auto",
}}
>
<Outlet />
</div>
</LayoutTopDiv>
);
};
export default Layout;
|