Custom-Grid-View
Custom-Grid-View copied to clipboard
Overflow-y for big cards
Is your feature request related to a problem? Please describe. Big cards don't fit in small containers (obviously) 😉
Describe the solution you'd like
If the drag and drop "containers" would have overflow-y:auto;
, bigger cards would fit in smaller containers with a scrollbar. If the container is bigger than the card, no scrollbar appears.
Describe alternatives you've considered I have no idea ....
Additional context My main goal: I'd like to create a wall dashboard with a big fixed card on one side and a slim scrollable stack of cards on the other side. With this solution I could limit the height of a vertical-stack so it gets a scrollbar and I could scroll through many cards while e.g. a calendar card on the left stays.
I tested the solution in my browser with Chrome dev tools and this worked fine:
<div class="grid-item-wrapper finished" style="transform: translate(8px, 8px); width: 399px; height: 240px; overflow-y:auto;">
This is the plan. I thought I added this function to core already. but going to revisit that code to figure out why this is not working
+1 !
+1