Scroller { display: flex flex-direction: column overflow: auto width: 100% min-height: 0px div.wrapper { flex: 1 max-width: 600px margin-left: auto margin-right: auto section.content { div { border-top: solid 1px gainsboro } } } }