This is an automated email from the ASF dual-hosted git repository.
chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory-site.git
The following commit(s) were added to refs/heads/main by this push:
new 126f45e086 Fix table align (#458)
126f45e086 is described below
commit 126f45e086e00d44ce6c7cc40f72df790f783098
Author: Shawn Yang <[email protected]>
AuthorDate: Fri May 22 02:40:25 2026 +0800
Fix table align (#458)
---
src/css/custom.css | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/src/css/custom.css b/src/css/custom.css
index 30dec7e27a..f9cd9fa6b5 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -152,7 +152,10 @@
}
.theme-doc-markdown > table {
- display: table;
+ display: block;
+ margin-left: 0;
+ margin-right: auto;
+ overflow-x: auto;
}
.theme-doc-markdown > pre,
@@ -198,7 +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]