DEV Community

Discussion on: Prevent overflow but show all contents of section

Collapse
 
jamesthomson profile image
James Thomson

Don't use a set height on your .sections (and every child within it > * for that matter). Doing this restricts the browser from naturally calculating the height in needs for the content (your Timline) to fill the container.

Thread Thread
 
ssingh1997 profile image
Satyen Singh

Is there a way I can change for each one? I tried doing the nth child but that had no effect