-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
#959 add a max-height and center element with alignItems: center #961
Conversation
@wcastand thanks for PR. Consider applying maxHeight and overflow to the |
I put max-Height in the tablink style. Thanks for the help on this :) We should update the doc too but i can't find it and my english is far from perfect for a documentation :/ |
justifyContent: 'flex-start', | ||
alignItems: 'center', | ||
maxHeight: 60, | ||
overflow: 'hidden', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just remove it from here:
maxHeight: 60,
overflow: 'hidden',
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
maxHeight: 60,
overflow: 'hidden',
from tabbar
I think we're good now :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, tested locally
Issue: #959
I'm not sure i did the things right (never used lerna so i was a bit lost ). Let me know if i missed something.
What I did
I added some style to the tabtitles to center his children.
How to test
In the example, add a react component as a Title with an
button
for example and some padding or margin.