#edit-actions {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 12px;
  align-items: center;
}

#edit-actions > .input-wrapper {
  width: auto !important;      /* override any width:100% */
  flex: 0 0 auto !important;
}

#edit-actions input[type="submit"] {
  width: auto !important;      /* override any width:100% on buttons */
}