Skip to content
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
1 task done
cipchk opened this issue Nov 12, 2018 · 0 comments
Closed
1 task done

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

cipchk opened this issue Nov 12, 2018 · 0 comments
Assignees

Comments

@cipchk
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants