feat: update styles

This commit is contained in:
GyDi 2022-01-25 01:48:26 +08:00
parent ab1b5897a6
commit 3a73868c10
No known key found for this signature in database
GPG Key ID: 1C95E0D3467B3084
4 changed files with 6 additions and 4 deletions

View File

@ -72,9 +72,9 @@
.the-content {
position: absolute;
left: 0;
right: 0;
top: 30px;
left: 0;
right: 2px;
bottom: 10px;
}
}

View File

@ -9,6 +9,8 @@
width: 90%;
max-width: 850px;
margin: 0 auto;
padding-right: 4px;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: space-between;

View File

@ -20,7 +20,7 @@ const BasePage: React.FC<Props> = (props) => {
{header}
</header>
<section data-windrag>
<section>
<div className="base-content" style={contentStyle} data-windrag>
{children}
</div>

View File

@ -107,7 +107,7 @@ const Layout = () => {
<LayoutControl />
</div>
<div className="the-content" data-windrag>
<div className="the-content">
<Routes>
{routers.map(({ label, link, ele: Ele }) => (
<Route key={label} path={link} element={<Ele />} />