enhance(layout):窗体现在可以移动了。

This commit is contained in:
徐涛 2024-07-11 22:48:23 +08:00
parent 2fa0f6a283
commit bbbb800524

View File

@ -1,3 +1,22 @@
import { WindowMoveHandler } from "@/components";
import { flex } from "@/style-predefines";
import { css } from "@emotion/react";
import styled from "@emotion/styled";
const LayoutContainer = styled.div(({ theme }) =>
css({
height: "100vh",
width: "100vw",
paddingTop: theme.spacings.xxs * 24,
...flex(theme, "row", "flex-start", "stretch"),
overflow: "hidden",
})
);
export function MainLayout() { export function MainLayout() {
return <div></div>; return (
<LayoutContainer>
<WindowMoveHandler />
</LayoutContainer>
);
} }