Steven Fukase 5 лет назад
Родитель
Сommit
f42c45e45b

+ 3 - 3
src/client/js/components/Admin/SlackIntegration/CustomBotWithoutProxySecretTokenSection.jsx

@@ -54,7 +54,7 @@ const CustomBotWithoutProxySecretTokenSection = (props) => {
   }
 
   return (
-    <>
+    <div className="card-body">
       <table className="table settings-table">
         <colgroup>
           <col className="item-name" />
@@ -62,7 +62,7 @@ const CustomBotWithoutProxySecretTokenSection = (props) => {
           <col className="from-env-vars" />
         </colgroup>
         <thead>
-          <tr><th></th><th>Database</th><th>Environment variables</th></tr>
+          <tr><th className="border-top-0"></th><th className="border-top-0">Database</th><th className="border-top-0">Environment variables</th></tr>
         </thead>
         <tbody>
           <tr>
@@ -115,7 +115,7 @@ const CustomBotWithoutProxySecretTokenSection = (props) => {
       </table>
 
       <AdminUpdateButtonRow onClick={updateHandler} disabled={false} />
-    </>
+    </div>
   );
 };
 

+ 1 - 3
src/client/js/components/Admin/SlackIntegration/CustomBotWithoutProxySettingsAccordion.jsx

@@ -127,9 +127,7 @@ const CustomBotWithoutProxySettingsAccordion = (props) => {
           }
         </div>
         <Collapse isOpen={openAccordionIndexes.has(2)}>
-          <div className="card-body">
-            <CustomBotWithoutProxySecretTokenSection />
-          </div>
+          <CustomBotWithoutProxySecretTokenSection />
         </Collapse>
       </div>