Hi Rodrigo,
Thank you for the suggestion. I understand the logic behind wrapping the images and the subsequent element in a parent container to address the pinning issue.
However, in the context of the project I'm working on, this solution isn't feasible. Here's why:
There are instances where only a single button exists without any text below it. When pinned with its parent, the lack of content beneath creates white space that pushes other content (like the footer) downward.
The project is constructed with stand-alone Vue components which are configured in the CMS. This means I can't easily wrap the subsequent component with the pinned one.
Even if it was possible to wrap the next component with the pinned container, there are cases where the wrapped component might not have enough height to cover the resulting empty space.
I appreciate your input and dedication to helping! ?