786 B
786 B
Work Plan - Fix Pool Card Sizing
Request
The user reported that cards in the horizontal pool list were "enormous" after previous changes.
Changes
- DraftView.tsx:
- Reverted the
heightclass ofPoolCardItemimages (in horizontal mode) fromh-fulltoh-[90%]. h-fullwas causing the image to expand uncontrollably in some flex layouts, ignoring the parent container's constraints.h-[90%], combined withitems-centeron the parent container, properly constrains the image to fit within the strip, maintaining aspect ratio viaw-auto.
- Reverted the
Verification
- Visuals: Cards in the bottom "Your Pool" strip should now cleanly fit within the resizeable panel, with a small vertical margin, instead of overflowing or appearing excessively large.