enhance(layout):窗体现在可以移动了。
This commit is contained in:
parent
2fa0f6a283
commit
bbbb800524
|
@ -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() {
|
||||
return <div></div>;
|
||||
return (
|
||||
<LayoutContainer>
|
||||
<WindowMoveHandler />
|
||||
</LayoutContainer>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user