feat: update styles
This commit is contained in:
parent
ab1b5897a6
commit
3a73868c10
@ -72,9 +72,9 @@
|
|||||||
|
|
||||||
.the-content {
|
.the-content {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
top: 30px;
|
top: 30px;
|
||||||
|
left: 0;
|
||||||
|
right: 2px;
|
||||||
bottom: 10px;
|
bottom: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,6 +9,8 @@
|
|||||||
width: 90%;
|
width: 90%;
|
||||||
max-width: 850px;
|
max-width: 850px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
padding-right: 4px;
|
||||||
|
box-sizing: border-box;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
@ -20,7 +20,7 @@ const BasePage: React.FC<Props> = (props) => {
|
|||||||
{header}
|
{header}
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<section data-windrag>
|
<section>
|
||||||
<div className="base-content" style={contentStyle} data-windrag>
|
<div className="base-content" style={contentStyle} data-windrag>
|
||||||
{children}
|
{children}
|
||||||
</div>
|
</div>
|
||||||
|
@ -107,7 +107,7 @@ const Layout = () => {
|
|||||||
<LayoutControl />
|
<LayoutControl />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="the-content" data-windrag>
|
<div className="the-content">
|
||||||
<Routes>
|
<Routes>
|
||||||
{routers.map(({ label, link, ele: Ele }) => (
|
{routers.map(({ label, link, ele: Ele }) => (
|
||||||
<Route key={label} path={link} element={<Ele />} />
|
<Route key={label} path={link} element={<Ele />} />
|
||||||
|
Loading…
Reference in New Issue
Block a user