zahmis 4 лет назад
Родитель
Сommit
f8baecb31d
1 измененных файлов с 14 добавлено и 10 удалено
  1. 14 10
      src/client/js/components/Admin/SlackIntegration/CustomBotWithProxySettings.jsx

+ 14 - 10
src/client/js/components/Admin/SlackIntegration/CustomBotWithProxySettings.jsx

@@ -15,7 +15,7 @@ const CustomBotWithProxySettings = (props) => {
   return (
   return (
     <>
     <>
 
 
-      <h2 className="admin-setting-header">{t('admin:slack_integration.custom_bot_with_proxy_integration')}</h2>
+      <h2 className="admin-setting-header mb-2">{t('admin:slack_integration.custom_bot_with_proxy_integration')}</h2>
 
 
       {/* TODO delete tmp props */}
       {/* TODO delete tmp props */}
       <CustomBotWithProxyIntegrationCard
       <CustomBotWithProxyIntegrationCard
@@ -23,15 +23,19 @@ const CustomBotWithProxySettings = (props) => {
         slackWSNameInWithProxy="SlackWorkSpaceName"
         slackWSNameInWithProxy="SlackWorkSpaceName"
         isSlackScopeSet
         isSlackScopeSet
       />
       />
-      <h2 className="admin-setting-header">{t('admin:slack_integration.cooperation_method')}</h2>
-
-      <button
-        className="mx-3 pull-right btn btn-outline-danger"
-        type="button"
-      ><i className="icon-trash mr-1" />{t('admin:slack_integration.delete')}
-      </button>
-      <div className="my-5 mx-3">
-        <CustomBotWithProxySettingsAccordion />
+      <h2 className="admin-setting-header">{t('admin:slack_integration.cooperation_procedure')}</h2>
+      <div className="mx-3">
+        <div className="d-flex flex-column pull-right">
+          <button
+            className="my-3 btn btn-outline-danger"
+            type="button"
+          ><i className="icon-trash mr-1" />{t('admin:slack_integration.delete')}
+          </button>
+        </div>
+
+        <div className="d-flex flex-column my-5 w-100">
+          <CustomBotWithProxySettingsAccordion />
+        </div>
       </div>
       </div>
     </>
     </>
   );
   );