mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 20:27:23 +00:00
fix layout
This commit is contained in:
@@ -35,12 +35,7 @@ export default function Navigator() {
|
|||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div style={{
|
<>
|
||||||
position: "relative",
|
|
||||||
overflowY: "hidden",
|
|
||||||
overflowX: "hidden",
|
|
||||||
minHeight: "100vh",
|
|
||||||
}}>
|
|
||||||
{/* background */}
|
{/* background */}
|
||||||
{background && (
|
{background && (
|
||||||
<div
|
<div
|
||||||
@@ -89,7 +84,6 @@ export default function Navigator() {
|
|||||||
style={{
|
style={{
|
||||||
position: "relative",
|
position: "relative",
|
||||||
zIndex: 1,
|
zIndex: 1,
|
||||||
minHeight: "100vh",
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<FloatingToTopButton />
|
<FloatingToTopButton />
|
||||||
@@ -269,7 +263,7 @@ export default function Navigator() {
|
|||||||
<div className={"max-w-7xl mx-auto pt-16"}>{outlet}</div>
|
<div className={"max-w-7xl mx-auto pt-16"}>{outlet}</div>
|
||||||
</navigatorContext.Provider>
|
</navigatorContext.Provider>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user