I am trying to add a set of buttons on each image in my masonry image gallery, but I'm facing issues with responsiveness.
Whenever I resize the screen, some of the buttons disappear instead of adjusting their size and position accordingly.
I want the buttons to scale down proportionally as I decrease the screen size, ensuring that all buttons remain visible within the div container.
Here is the HTML code snippet:
<ul class="mdc-image-list mdc-image-list--masonry masonry-image-list second">
<li class="mdc-image-list__item" *ngFor="let image of list; let i = index;">
<img [src]="image" class="mdc-image-list__image">
<div class="mdc-image-list--with-text-protection">
<div class="mdc-image-list__supporting">
</div>
</div>
</li>
</ul>