fix: Upload.Dragger not align center (#46810)

close #46795
This commit is contained in:
afc163 2024-01-05 14:22:45 +08:00 committed by GitHub
parent 9ece76b269
commit 15324982ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,12 +23,13 @@ const genDraggerStyle: GenerateStyle<UploadToken> = (token) => {
},
[`${componentCls}-btn`]: {
display: 'flex',
placeContent: 'center',
display: 'table',
width: '100%',
height: '100%',
outline: 'none',
borderRadius: token.borderRadiusLG,
'&:focus': {
'&:focus-visible': {
outline: `${unit(token.lineWidthFocus)} solid ${token.colorPrimaryBorder}`,
},
},