From 28263ffdae1609ed27c7e5dc98a287a090cf9ef3 Mon Sep 17 00:00:00 2001 From: Mike Turley Date: Thu, 18 Apr 2019 12:00:23 -0400 Subject: [PATCH 1/2] Change layout of throttling settings form from horizontal to vertical --- .../react/screens/App/Settings/Settings.scss | 9 +++++++++ .../screens/GeneralSettings/GeneralSettings.js | 15 ++++++++------- .../App/common/forms/TextInputWithCheckbox.js | 9 +++++---- 3 files changed, 22 insertions(+), 11 deletions(-) diff --git a/app/javascript/react/screens/App/Settings/Settings.scss b/app/javascript/react/screens/App/Settings/Settings.scss index cc0cebcdf0..c0ac7137c5 100644 --- a/app/javascript/react/screens/App/Settings/Settings.scss +++ b/app/javascript/react/screens/App/Settings/Settings.scss @@ -2,6 +2,15 @@ margin-bottom: 25px; } +.migration-settings h3 { + margin-top: 40px; + margin-bottom: 15px; +} + +.migration-settings label.control-label { + margin-bottom: 0; +} + .conversion-hosts-list .list-view-pf-main-info { padding: 10px 0; } diff --git a/app/javascript/react/screens/App/Settings/screens/GeneralSettings/GeneralSettings.js b/app/javascript/react/screens/App/Settings/screens/GeneralSettings/GeneralSettings.js index 9d7c28103e..05df82cc64 100644 --- a/app/javascript/react/screens/App/Settings/screens/GeneralSettings/GeneralSettings.js +++ b/app/javascript/react/screens/App/Settings/screens/GeneralSettings/GeneralSettings.js @@ -62,12 +62,12 @@ export class GeneralSettings extends React.Component { return (
-
+

{__('Concurrent Migrations')}

- + {__('Maximum concurrent migrations per conversion host')} - -
+
- +
{__('Maximum concurrent migrations per provider')}
-
+
- +