feat(compo):确定组件的样式如何定义。
This commit is contained in:
parent
5f1bd3550a
commit
2fa0f6a283
|
@ -1,15 +1,15 @@
|
|||
import { css } from "@emotion/react";
|
||||
import styled from "@emotion/styled";
|
||||
|
||||
const Handler = styled.div(
|
||||
({ theme }) => css`
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: ${theme.spacings.xxs * 24}px;
|
||||
z-index: 1;
|
||||
`
|
||||
const Handler = styled.div(({ theme }) =>
|
||||
css({
|
||||
position: "fixed",
|
||||
top: 0,
|
||||
left: 0,
|
||||
right: 0,
|
||||
height: theme.spacings.xxs * 24,
|
||||
zIndex: 1,
|
||||
})
|
||||
);
|
||||
|
||||
export function WindowMoveHandler() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user