You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
I can give flex to specify how much space I want for a child.
<div layout="row">
<div flex="66" flex-sm="33">
I flex to one-third of the space on mobile, and two-thirds on other devices.
</div>
<div flex="33" flex-sm="66">
I flex to two-thirds of the space on mobile, and one-third on other devices.
</div>
</div>
However, I think, if the layout is column, and if we give flex values to the child, it should give height, not width.
For eg.
<div layout="column">
<div flex="66" flex-sm="33">
I flex to one-third of the space on mobile, and two-thirds on other devices.
</div>
<div flex="33" flex-sm="66">
I flex to two-thirds of the space on mobile, and one-third on other devices.
</div>
</div>
In this, the height should be 66% for the first child. However, flex is just considering width only for now irrespective of the layout given.
Please let me know your thoughts.
Thanks
The text was updated successfully, but these errors were encountered:
jintoppy
changed the title
Setting flex for height in column layout
Setting height value for flex in column layout
Dec 13, 2014
I can give flex to specify how much space I want for a child.
However, I think, if the layout is column, and if we give flex values to the child, it should give height, not width.
For eg.
In this, the height should be 66% for the first child. However, flex is just considering width only for now irrespective of the layout given.
Please let me know your thoughts.
Thanks
The text was updated successfully, but these errors were encountered: