This is an automated email from the ASF dual-hosted git repository.
chaokunyang pushed a commit to branch fix_table_align
in repository https://gitbox.apache.org/repos/asf/fory-site.git
The following commit(s) were added to refs/heads/fix_table_align by this push:
new 7a18cd6251 Prevent docs table overflow
7a18cd6251 is described below
commit 7a18cd6251e14449aaecd081c3d4c23af9de43cd
Author: chaokunyang <[email protected]>
AuthorDate: Fri May 22 02:39:20 2026 +0800
Prevent docs table overflow
---
src/css/custom.css | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/css/custom.css b/src/css/custom.css
index bf7ce2b210..f9cd9fa6b5 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -152,9 +152,10 @@
}
.theme-doc-markdown > table {
- display: table;
+ display: block;
margin-left: 0;
margin-right: auto;
+ overflow-x: auto;
}
.theme-doc-markdown > pre,
@@ -200,9 +201,12 @@
}
.theme-doc-markdown table {
+ display: block;
font-size: .95rem;
margin-left: 0;
margin-right: auto;
+ max-width: 100%;
+ overflow-x: auto;
}
.theme-doc-markdown th {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]