Sfoglia il codice sorgente

implemented so that the child pages could scroll if there were too much

白石誠 5 anni fa
parent
commit
8359cd5ffb

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

@@ -133,7 +133,7 @@ const PageRenameModal = (props) => {
             { t('modal_rename.label.Recursively') }
             <p className="form-text text-muted mt-0">{ t('modal_rename.help.recursive') }</p>
           </label>
-          <div>
+          <div className="rename-new-path-content">
             {isRenameRecursively
               && subordinatedPaths.map(renamedNewPath => <li key={renamedNewPath}>{renamedNewPath}</li>)
             }

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

@@ -12,4 +12,9 @@
   .create-page-under-tree-label code {
     font-family: $font-family-monospace-not-strictly;
   }
+
+  .rename-new-path-content {
+    height: 50px;
+    overflow: scroll;
+  }
 }