#menu-container { width: 180px; height: 250px; display: flex; flex-direction: column; background: red; } #search-bar { width: 100%; margin: 2%; } #link-list { width: 100%; height: 100px; overflow-y: scroll; background: black; }