AemieJ commented on a change in pull request #401:
URL: https://github.com/apache/camel-website/pull/401#discussion_r446535833



##########
File path: antora-ui-camel/src/css/nav.css
##########
@@ -118,6 +118,32 @@ html.is-clipped--nav {
   overflow-y: auto;
 }
 
+.nav-menu::-webkit-scrollbar {
+  width: 0.42rem;
+}
+
+.nav-menu::-webkit-scrollbar-track {
+  background: var(--nav-scrollbar-color);
+  border-radius: 3.125rem;
+}
+
+.nav-menu::-webkit-scrollbar-thumb {
+  background: var(--nav-scroll-thumb-color);
+  border-radius: 3.125rem;
+}
+
+.nav-menu::-webkit-scrollbar-thumb:hover,
+.nav-menu::-webkit-scrollbar-thumb:active {
+  background: var(--nav-scrollbar-active-color);
+}
+
+@media screen and (max-width: 1023px) {
+  .nav-menu::-webkit-scrollbar {
+    width: 0;
+    background: transparent;
+  }
+}
+

Review comment:
       The thing is that in the default antora UI, they make use of the 
`nav-panel-menu` however in our case, we make use of the `nav`  'cause under 
the component section, we need to avoid the scrollbar for the `quick lookup` as 
it is included within `nav-panel-menu`.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to