#markers-form { display: flex; flex-direction: row; justify-content: space-between; align-items: center; margin-top: 1rem; margin-bottom: 1rem; } #markers-form label { margin-right: 1rem; }