Răsfoiți Sursa

adjust height

itizawa 5 ani în urmă
părinte
comite
16c3e19fa2
1 a modificat fișierele cu 2 adăugiri și 4 ștergeri
  1. 2 4
      src/client/js/components/TableOfContents.jsx

+ 2 - 4
src/client/js/components/TableOfContents.jsx

@@ -26,16 +26,14 @@ const TableOfContents = (props) => {
     const containerTop = containerElem.getBoundingClientRect().top;
 
     // window height - revisionToc top - .system-version - .grw-fab-container height
-    return window.innerHeight - containerTop - 20 - 175;
+    return window.innerHeight - containerTop - 20 - 155;
   }, []);
 
   const { tocHtml } = pageContainer.state;
 
   return (
     <>
-      <div className="my-2 text-center">
-        <button type="button">ここに新しいボタンが配置される</button>
-      </div>
+      {/* TODO add four contents */}
       <StickyStretchableScroller
         contentsElemSelector=".revision-toc .markdownIt-TOC"
         stickyElemSelector="#revision-toc"