Best way to achieve this layout with Grid

How to add more number options, but keep the card count at 5 in Memory Card?
Help with storing user Data
Bootstrap-Table: Table Sticky Header extension not working
is it possible to make divs grow according to its grid cell?

Grid with Toggleable Sidebar Issue
oveflow-y scroll using % inside a flex item
Should I use a different page to render an entirely new DOM?
How to make this layout ?
how to match both the filter value to lower case
grow image to size of sibling
Road map
How do I store details of users in frontend when they sign in?
Why does click work but hover doesn't?
What should I do next after CSS?
How to code this form

Possible to turn an image into a prop in svelte?
Positioning Popover with Dynamic Card Heights
movieCards component depending on movies coming from an API. And where each movieCards component height varies based on its content, and movieCard's height dynamically adjusts based on its content, including movieName, duration, and categories. and there's a popover triggered by a button in the card's footer. Now, I need to move the popover to the top of each card, but since the card heights are dynamic, I'm not sure how to handle it.
Although the popover offers an offset option to adjust its placement, determining the appropriate offset value for dynamic heights remains a hurdle. like how much do I exactly need to change offset values so that it reaches to top of card ?
Any tips or resources would be helpful...Sass/SCSS
