ayush00git commented on code in PR #468:
URL: https://github.com/apache/fory-site/pull/468#discussion_r3409113074


##########
src/css/custom.css:
##########
@@ -179,11 +179,18 @@
   --fory-doc-wide-width: 988px;
   --fory-doc-gutter-width: 18px;
   --fory-doc-sidebar-inset: 2rem;
+  --fory-doc-sidebar-panel-width: 300px;
+  --fory-doc-sidebar-offset: max(0px, calc((100vw - var(--fory-layout-width)) 
/ 2));
   --fory-doc-toc-right-inset: 1.5rem;
 }
 
 html:root {
-  --doc-sidebar-width: 300px;
+  /*
+   * The menu is aligned with the centered navbar on wide screens. Keep the
+   * Docusaurus sidebar at least that wide, otherwise its overflow clipping
+   * hides the menu and the sidebar looks empty.

Review Comment:
   @chaokunyang  the sidebar is rendered double it's width size on the screen 
by it should 
   <img width="1920" height="943" alt="Image" 
src="https://github.com/user-attachments/assets/7d09f8d2-5e0b-448a-9213-0a75778a2373";
 />



-- 
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.

To unsubscribe, e-mail: [email protected]

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to