Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Avatar wrapper view should not be 'flex: 1' #84

Open
prithsharma opened this issue Jun 22, 2016 · 0 comments
Open

Avatar wrapper view should not be 'flex: 1' #84

prithsharma opened this issue Jun 22, 2016 · 0 comments

Comments

@prithsharma
Copy link

https://github.com/react-native-material-design/react-native-material-design/blob/master/lib/Avatar.js#L56
Because the avatar wrapper view is flexible, it can't be aligned at the place where this component is used.

This is also why the demo app had to use a paddingTop instead of justifyContent: center for making the avatar look like it's in the center.

Even if we keep the wrapper view flexible, at least it should align and justify the children.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant