New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropdown 会污染 Avatar 的 size 值的有效性 #13091

Closed
cipchk opened this Issue Nov 12, 2018 · 0 comments

Comments

Projects
None yet
3 participants
@cipchk

cipchk commented Nov 12, 2018

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

Version

3.10.7

Environment

Chrome

Reproduction link

https://codepen.io/cipchk/pen/VVKOrR?editors=0010

Steps to reproduce

  <Dropdown overlay={menu}>
    <a className="ant-dropdown-link" href="#">
      <Avatar size="large" icon="user" />
    </a>
  </Dropdown>

What is expected?

avatar 的 font-size 应为 size 大小

What is actually happening?

avatar 的 font-size 始终为 12px

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment