Explorar o código

Merge pull request #3222 from weseek/feat/gw-4711

feat/gw-4711
Yuki Takei %!s(int64=5) %!d(string=hai) anos
pai
achega
eb571ee025

+ 1 - 1
src/client/js/components/ComparePathsTable.jsx

@@ -14,7 +14,7 @@ function ComparePathsTable(props) {
   const { path } = pageContainer.state;
   const { path } = pageContainer.state;
 
 
   return (
   return (
-    <table className="table table-bordered grw-compare-page-table">
+    <table className="table table-bordered grw-compare-paths-table">
       <thead>
       <thead>
         <tr className="d-flex">
         <tr className="d-flex">
           <th className="w-50">{t('original_path')}</th>
           <th className="w-50">{t('original_path')}</th>

+ 1 - 1
src/client/js/components/DuplicatedPathsTable.jsx

@@ -14,7 +14,7 @@ function DuplicatedPathsTable(props) {
   const { path } = pageContainer.state;
   const { path } = pageContainer.state;
 
 
   return (
   return (
-    <table className="table table-bordered grw-duplicated-page-table">
+    <table className="table table-bordered grw-duplicated-paths-table">
       <thead>
       <thead>
         <tr className="d-flex">
         <tr className="d-flex">
           <th className="w-50">{t('original_path')}</th>
           <th className="w-50">{t('original_path')}</th>

+ 1 - 1
src/client/js/components/PageRenameModal.jsx

@@ -134,7 +134,7 @@ const PageRenameModal = (props) => {
   }
   }
 
 
   return (
   return (
-    <Modal size="lg" isOpen={props.isOpen} toggle={props.onClose} className="grw-create-page">
+    <Modal size="lg" isOpen={props.isOpen} toggle={props.onClose}>
       <ModalHeader tag="h4" toggle={props.onClose} className="bg-primary text-light">
       <ModalHeader tag="h4" toggle={props.onClose} className="bg-primary text-light">
         { t('modal_rename.label.Move/Rename page') }
         { t('modal_rename.label.Move/Rename page') }
       </ModalHeader>
       </ModalHeader>

+ 0 - 6
src/client/styles/scss/_create-page.scss

@@ -12,10 +12,4 @@
   .create-page-under-tree-label code {
   .create-page-under-tree-label code {
     font-family: $font-family-monospace-not-strictly;
     font-family: $font-family-monospace-not-strictly;
   }
   }
-
-  .grw-compare-page-table {
-    tbody {
-      max-height: 200px;
-    }
-  }
 }
 }

+ 5 - 0
src/client/styles/scss/molecules/compare-paths-table.scss

@@ -0,0 +1,5 @@
+.grw-compare-paths-table {
+  tbody {
+    max-height: 200px;
+  }
+}

+ 5 - 0
src/client/styles/scss/molecules/duplicated-paths-table.scss

@@ -0,0 +1,5 @@
+.grw-duplicated-paths-table {
+  tbody {
+    max-height: 200px;
+  }
+}

+ 2 - 0
src/client/styles/scss/style-app.scss

@@ -25,6 +25,8 @@
 @import 'molecules/copy-dropdown';
 @import 'molecules/copy-dropdown';
 @import 'molecules/page-editor-mode-manager';
 @import 'molecules/page-editor-mode-manager';
 @import 'molecules/slack-notification';
 @import 'molecules/slack-notification';
+@import 'molecules/duplicated-paths-table.scss';
+@import 'molecules/compare-paths-table.scss';
 
 
 // growi component
 // growi component
 @import 'admin';
 @import 'admin';