feat: modify style of modal

This commit is contained in:
QiShaoXuan
2022-12-09 01:35:36 +08:00
parent 679cfc979f
commit d3224f983b
14 changed files with 109 additions and 130 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { absoluteCenter, displayFlex, styled } from '@/styles';
import { absoluteCenter, displayInlineFlex, styled } from '@/styles';
import { CSSProperties } from 'react';
export const StyledIconButton = styled.button<{
@@ -23,7 +23,7 @@ export const StyledIconButton = styled.button<{
width,
height,
color: theme.colors.iconColor,
...displayFlex('center', 'center'),
...displayInlineFlex('center', 'center'),
position: 'relative',
...(disabled ? { cursor: 'not-allowed', pointerEvents: 'none' } : {}),
transition: 'background .15s',