fix: next warning

This commit is contained in:
QiShaoXuan
2022-10-31 17:08:01 +08:00
parent 795cd8e98f
commit 0baaf5aed8
2 changed files with 5 additions and 5 deletions

View File

@@ -64,28 +64,28 @@ export const StyledLoadingItem = styled.div`
right: 50%; right: 50%;
} }
&:nth-child(1) { &:nth-of-type(1) {
--sx: 50%; --sx: 50%;
--sy: -50%; --sy: -50%;
--ex: 150%; --ex: 150%;
--ey: 50%; --ey: 50%;
} }
&:nth-child(2) { &:nth-of-type(2) {
--sx: -50%; --sx: -50%;
--sy: -50%; --sy: -50%;
--ex: 50%; --ex: 50%;
--ey: -50%; --ey: -50%;
} }
&:nth-child(3) { &:nth-of-type(3) {
--sx: 150%; --sx: 150%;
--sy: 50%; --sy: 50%;
--ex: 50%; --ex: 50%;
--ey: 50%; --ey: 50%;
} }
&:nth-child(4) { &:nth-of-type(4) {
--sx: 50%; --sx: 50%;
--sy: 50%; --sy: 50%;
--ex: -50%; --ex: -50%;

View File

@@ -23,7 +23,7 @@ export const StyledModal = styled(ModalUnstyled)(({ theme }) => {
zIndex: theme.zIndex.modal, zIndex: theme.zIndex.modal,
...displayFlex('center', 'center'), ...displayFlex('center', 'center'),
'*': { '*': {
'-webkit-tap-highlight-color': 'transparent', WebkitTapHighlightColor: 'transparent',
outline: 'none', outline: 'none',
}, },
}; };