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

chaokunyang pushed a commit to branch fix_homepage
in repository https://gitbox.apache.org/repos/asf/fory-site.git

commit 7eb6cf27b99bdfe70d51fc36c4b6d4855b473b54
Author: 慕白 <[email protected]>
AuthorDate: Mon Jun 1 00:08:58 2026 +0800

    Fix zh docs sidebar label wrapping
---
 src/css/custom.css | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/css/custom.css b/src/css/custom.css
index b410ab702e..307acde29e 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -181,6 +181,10 @@
   --fory-doc-toc-right-inset: 5.5rem;
 }
 
+html[lang="zh-CN"]:root {
+  --doc-sidebar-width: 320px;
+}
+
 .theme-doc-breadcrumbs,
 .theme-doc-footer,
 .pagination-nav {
@@ -333,6 +337,8 @@
 .menu__link {
   border-radius: 6px;
   font-size: .96rem;
+  overflow-wrap: normal;
+  word-break: normal;
 }
 
 .menu__link--active {


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

Reply via email to