body{ margin: 0; width: 100%; overflow: auto; .App{ .headerBlock{ display:flex; flex-diraction:space-between; border:1px solid black; } } }