Skip to content

Commit

Permalink
fix: Attachment remove icon style (#460)
Browse files Browse the repository at this point in the history
* feat: 拖拽文件上传无法删除

* feat: 移除助手代码

* feat: 移除注释代码

---------

Co-authored-by: 🏎️ Imer <[email protected]>
  • Loading branch information
Rain120 and YumoImer authored Jan 10, 2025
1 parent 4076798 commit dadb26d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions components/attachments/style/fileCard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,15 +162,10 @@ const genFileCardStyle: GenerateStyle<AttachmentsToken> = (token) => {

// ============================== Motion ===============================
'&-motion': {
overflow: 'hidden',
transition: ['opacity', 'width', 'margin', 'padding']
.map((prop) => `${prop} ${token.motionDurationSlow}`)
.join(','),

[`${cardCls}-remove`]: {
display: 'none !important',
},

'&-appear-start': {
width: 0,
transition: 'none',
Expand Down

0 comments on commit dadb26d

Please sign in to comment.