.boxselector_wrapper { display: flex; flex-flow: row wrap; gap: 10px; overflow: hidden !important; margin-bottom: 5px; margin-top: 5px; } @media only screen and (max-width: 700px) { .boxselector_wrapper { flex-direction: column; } }