Replies: 3 comments 2 replies
-
Hey @anas-rg, thanks for the report. Here's an example of someone with the same problem as you who is using flexbox in the web: https://stackoverflow.com/q/41444346 I'm closing this because this is not an issue of the package per se. I'll convert this to a Discussion if you want to discuss further how you could achieve what you want using flexbox. |
Beta Was this translation helpful? Give feedback.
-
Hey thanks for the link, I will surely look into this. That said, I am not familiar with CSS flexbox so it will take me a lot of time to really figure out the issue by myself. I will be really kind of you to help me with this. Just to reiterate on what I am hopping to achieve here is... Here are examples of the data I am receiving: Example 1:
Example 2:
Here are some more images of the layout with different data sets |
Beta Was this translation helpful? Give feedback.
-
So apparently, this is also an issue with CSS flex boxes. What I found out was that If you are creating a vertical flex box heights of all the items need to be the same and if you are creating a horizontal flex box width of all the items need to be same. Otherwise, you will run into these gaps. I ended up discussing this problem with my team and have decided on some constraints that will make sure that the cells will always match height/ width w.r.t. the flex direction. @gilzoide If you wish to add something to comments please do, otherwise, you can close this discussion. |
Beta Was this translation helpful? Give feedback.
-
I have a particular scenario (See attached Image)
What I'm hoping to achieve is the the 2 smaller tiles would show up on the right side of the large square tile and below the rectangular tile.
My setup is pretty straight forward. I used the scroll view sample to setup my layout structure. cards have width and height assigned individually.
Please let me know if I'm missing any steps here.
Beta Was this translation helpful? Give feedback.
All reactions