fix: text is not center in login button, fixed #789

This commit is contained in:
QiShaoXuan
2023-02-06 16:33:45 +08:00
parent d359823f8e
commit dd19c947a9
6 changed files with 56 additions and 161 deletions
+4
View File
@@ -145,6 +145,7 @@ export const StyledButton = styled('button', {
shouldForwardProp: prop => {
return ![
'hoverBackground',
'shape',
'hoverColor',
'hoverStyle',
'type',
@@ -203,6 +204,9 @@ export const StyledButton = styled('button', {
'.affine-button-icon': {
color: theme.colors.iconColor,
},
'.affine-button-icon__fixed': {
color: theme.colors.iconColor,
},
'>span': {
marginLeft: '5px',
width: '100%',