Skip to content

button loading 属性生成的圈圈图标不居中 #1337

@unihon

Description

@unihon
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.4.2

Environment

Vue: 2.5.22

Reproduction link

Edit on CodeSandbox

Steps to reproduce

<a-button icon="loading"/>
<a-button loading="true"/>

What is expected?

button 通过 loading 属性控制的图标能居中。

What is actually happening?

通过 loading 属性控制的图标发生了左右位移,button 的 padding-left 变了。

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions