Explorar o código

adjust toc location

Yuki Takei %!s(int64=5) %!d(string=hai) anos
pai
achega
90b9c70a36
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/client/js/components/TableOfContents.jsx

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

@@ -17,8 +17,8 @@ const logger = loggerFactory('growi:TableOfContents');
 
 
 // get these value with
 // get these value with
 //   document.querySelector('.revision-toc').getBoundingClientRect().top
 //   document.querySelector('.revision-toc').getBoundingClientRect().top
-const DEFAULT_REVISION_TOC_TOP_FOR_GROWI_LAYOUT = 190;
-const DEFAULT_REVISION_TOC_TOP_FOR_GROWI_LAYOUT_USER_PAGE = 230;
+const DEFAULT_REVISION_TOC_TOP_FOR_GROWI_LAYOUT = 204;
+const DEFAULT_REVISION_TOC_TOP_FOR_GROWI_LAYOUT_USER_PAGE = 264;
 const DEFAULT_REVISION_TOC_TOP_FOR_KIBELA_LAYOUT = 105;
 const DEFAULT_REVISION_TOC_TOP_FOR_KIBELA_LAYOUT = 105;
 
 
 /**
 /**