.view-form > .plankton_form { display: flex; flex-direction: row; flex-wrap: wrap; } .view-form > .plankton_form > .plankton_form_input { flex: 1; } .view-form > .plankton_form > .plankton_form_actions { flex: 1; } .plankton_form_actions > * { display: block; margin: 8px; }