diff --git a/it4i_theme/assets/stylesheets/application.css b/it4i_theme/assets/stylesheets/application.css
index 458a3ba94591b6db2138e67bf7725a7ac97c0770..e2435317f92d254a62c51a7d248c34d742da9056 100644
--- a/it4i_theme/assets/stylesheets/application.css
+++ b/it4i_theme/assets/stylesheets/application.css
@@ -1006,8 +1006,6 @@ h1 .article .headerlink {
     height: auto;
     margin-bottom: 96px;
     padding-top: 80px;
-    max-height: 1200px;
-    overflow:  auto;
 }
 .drawer, .drawer .scrollable {
     position: static;
@@ -1222,6 +1220,10 @@ h1 .article .headerlink {
 .article table th {
     color: #fff0e6;
 }
+} .toc  {
+    max-height: 1200px;
+    overflow:  auto;
+}
 a:not([href*="//"]) {
     /* CSS for internal links */
 }