ecoacoustics / web-components

https://oe-web-components.netlify.app/
MIT License
1 stars 0 forks source link

Verification grid should attempt to grow if the screen size changes #147

Open hudson-newey opened 1 month ago

hudson-newey commented 1 month ago

At the moment, we check to see if the verification grids size will fit in the current viewport (soon to be container with the completion of #146).

However, we do not have any functionality to grow the verification grid to the "ideal" verification grid size set by the grid-size attribute.

This means that the verification grid can shrink when the browser window is resized, but not grow.

We should therefore listen for the browser resize events so that we can grow the verification grid if it has previously been shrunk by the intersection observer.