You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fory.apache.org by "chaokunyang (via GitHub)" <gi...@apache.org> on 2026/06/14 05:29:35 UTC
[PR] Fix docs sidebar clipping on wide screens [fory-site]
chaokunyang opened a new pull request, #468:
URL: https://github.com/apache/fory-site/pull/468
(no comment)
--
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: commits-unsubscribe@fory.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org
Re: [PR] Fix docs sidebar clipping on wide screens [fory-site]
Posted by "ayush00git (via GitHub)" <gi...@apache.org>.
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: commits-unsubscribe@fory.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org
Re: [PR] Fix docs sidebar clipping on wide screens [fory-site]
Posted by "chaokunyang (via GitHub)" <gi...@apache.org>.
chaokunyang merged PR #468:
URL: https://github.com/apache/fory-site/pull/468
--
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: commits-unsubscribe@fory.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org