-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Grid centered not rendered properly #752
Comments
Hey @AlvMF1! According to the docs:
So, basically this means a vertically aligned grid will center all its columns vertically. This is exactly what happens in your Testcase (you can see for yourself if you give the Grid a static height). In order to make this look like you probably would like to, you'll have to make sure this Grid element will have the right height (for example 100%), by adding some styling. Hope this will help you! |
@sprmn Thanks for your reply. I apologize if I was not clear enough, but I'm talking about the horizontal alignment. |
Okay, I misunderstood, however the same thing applies for horizontal centering. The problem is that the column that you add to the first column is taking up the whole space, so it is center aligned, however you'll have to add a certain width in order to see it. If you would like to center align the text you'll have to use the Hope this does help you. |
Steps
<Grid centered verticalAlign='middle' />
Expected Result
Actual Result
Version
0.56.12
Testcase
http://codepen.io/anon/pen/ALzoLV
The text was updated successfully, but these errors were encountered: