Skip to content

Commit

Permalink
fix: Upload.Dragger not align center (#46810)
Browse files Browse the repository at this point in the history
close #46795
  • Loading branch information
afc163 authored Jan 5, 2024
1 parent 9ece76b commit 1532498
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions components/upload/style/dragger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`,
},
},
Expand Down

0 comments on commit 1532498

Please sign in to comment.