Fill all the space of a container #135
-
I will like to know how can I make the grid to occupy all the height of a container, I know we have the property height, but is a number and I want it to occupy 100% of the size of the container it is in. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hello @mmasdivins , |
Beta Was this translation helpful? Give feedback.
-
Styled Components help you all as magic ;)
|
Beta Was this translation helpful? Give feedback.
Hello @mmasdivins ,
There is no easy way to tell the grid to take the container vertical space.
To achieve this you must use something like auto-sizer to get the height of the container and pass it to DSG.