This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 311c299  fix: toc sidebar width explicitly mentioned
311c299 is described below

commit 311c299f254694d53b0f7c1343790276b20d8a7e
Author: Aemie <[email protected]>
AuthorDate: Wed Jul 8 15:59:11 2020 +0530

    fix: toc sidebar width explicitly mentioned
---
 antora-ui-camel/src/css/main.css | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/antora-ui-camel/src/css/main.css b/antora-ui-camel/src/css/main.css
index c9b1651..0bc467e 100644
--- a/antora-ui-camel/src/css/main.css
+++ b/antora-ui-camel/src/css/main.css
@@ -21,6 +21,17 @@
 
   aside.toc.sidebar {
     flex: 0 0 var(--toc-width);
+    min-width: 15rem;
+  }
+
+  .toc.sidebar .toc-menu ul {
+    -ms-overflow-style: none; /* Internet Explorer 10+ */
+    scrollbar-width: none; /* Firefox */
+  }
+
+  .toc.sidebar .toc-menu ul::-webkit-scrollbar {
+    width: 0;
+    background: transparent;  /* Chrome/Safari/Webkit */
   }
 }
 

Reply via email to