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

why content of List.item not be center? #2052

Closed
shi1hh opened this issue Nov 6, 2017 · 0 comments
Closed

why content of List.item not be center? #2052

shi1hh opened this issue Nov 6, 2017 · 0 comments
Assignees

Comments

@shi1hh
Copy link

shi1hh commented Nov 6, 2017

Version

2.0.2

Environment

react-native

Reproduction link

http://native

Steps to reproduce

read the code in https://github.com/ant-design/ant-design-mobile/blob/master/components/list/style/index.native.tsx

style:

fontSize: variables.font_size_heading,

lineHeight: Math.round(variables.font_size_heading * 1.1),

*1.1 makes the content not be center

What is expected?

center

What is actually happening?

not center

@silentcloud silentcloud self-assigned this Nov 7, 2017
lixiaoyang1992 pushed a commit to lixiaoyang1992/ant-design-mobile that referenced this issue Apr 26, 2018
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

2 participants