fix stacking cards: flatMap siblings, no wrappers, no shadow, z < header
ROOT CAUSE: each card was wrapped in its own div (min-h-[85vh]), scoping sticky to that wrapper — cards could NEVER overlap. FIX: flatMap returns all sticky divs + h-4 spacers as direct siblings under the same parent (mt-14). Sticky now works correctly — each card overlaps the previous with 20px peek. - Removed all shadows (border-gray-100 only) - z-index: 1-4 (was 10-40, conflicting with nav z-40) - top: 72/92/112/132px (20px stagger) - h-4 spacers between cards (no big white gaps) - Regenerated dinner image: dark navy table, candlelight, £5,000 pledge card — zero white space (was white tablecloth)
This commit is contained in:
BIN
screenshots/reference/spoonfeed-hero-6.png
Normal file
BIN
screenshots/reference/spoonfeed-hero-6.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.3 MiB |
Reference in New Issue
Block a user