فهرست منبع

adjust padding of modalBody

itizawa 5 سال پیش
والد
کامیت
bf1627f399
2فایلهای تغییر یافته به همراه6 افزوده شده و 2 حذف شده
  1. 2 2
      src/client/js/components/PageAccessoriesModal.jsx
  2. 4 0
      src/client/styles/scss/_page-accessories-modal.scss

+ 2 - 2
src/client/js/components/PageAccessoriesModal.jsx

@@ -109,10 +109,10 @@ const PageAccessoriesModal = (props) => {
             hideBorderBottom
             hideBorderBottom
           />
           />
         </ModalHeader>
         </ModalHeader>
-        <ModalBody className="overflow-auto grw-modal-body-style p-0">
+        <ModalBody className="overflow-auto grw-modal-body-style">
           {/* Do not use CustomTabContent because of performance problem:
           {/* Do not use CustomTabContent because of performance problem:
               the 'navTabMapping[tabId].Content' for PageAccessoriesModal depends on activeComponents */}
               the 'navTabMapping[tabId].Content' for PageAccessoriesModal depends on activeComponents */}
-          <TabContent activeTab={activeTab} className="p-5">
+          <TabContent activeTab={activeTab}>
             <TabPane tabId="pagelist">
             <TabPane tabId="pagelist">
               {activeComponents.has('pagelist') && <PageList />}
               {activeComponents.has('pagelist') && <PageList />}
             </TabPane>
             </TabPane>

+ 4 - 0
src/client/styles/scss/_page-accessories-modal.scss

@@ -5,6 +5,10 @@
     }
     }
   }
   }
 
 
+  .modal-body {
+    padding: 25px 30px;
+  }
+
   .grw-modal-body-style {
   .grw-modal-body-style {
     max-height: calc(100vh - 100px);
     max-height: calc(100vh - 100px);
   }
   }