Relocate components perspective

Hey hello! I want to know if there is a container or a trick to relocate components in my perspective view…

I will have multiple “cards” where there is important information about some plant areas… but i want to enable this cards or disable them… and if a disable one, the next card needs to relocate and don’t show empty space…

this is an example of what i want…

this is what i dont want to hapend…

and this is what i want…

flex container with wrap content on should probably work

1 Like

As @victordcq said, use a flex container and wrap the content. When you want to “remove” a card, set the card display: none. If you do the meta visibility property to False, it won’t show up but it will still take up the space of a card, like in your last screenshot, so be sure to use the display property.

EDIT: changed display: False to display: none based on @cmallonee’s comment. I was typing while in a meeting and that’s what happens, I guess.

2 Likes

These recommendations are really close, but you want display: none instead of display: false.

1 Like