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

davidzollo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/seatunnel-website.git


The following commit(s) were added to refs/heads/main by this push:
     new b7e1b3e0b3c5 [Docs] Prevent homepage overflow and center footer 
copyright (#474)
b7e1b3e0b3c5 is described below

commit b7e1b3e0b3c51af75a4ea096e225ecb0695ce75d
Author: Daniel <[email protected]>
AuthorDate: Mon Jun 22 18:51:18 2026 +0800

    [Docs] Prevent homepage overflow and center footer copyright (#474)
---
 docusaurus.config.js      | 2 +-
 src/css/custom.css        | 7 +++++++
 src/pages/home/index.less | 2 ++
 3 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/docusaurus.config.js b/docusaurus.config.js
index ab08c613494d..0a13335b2364 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -391,7 +391,7 @@ const config = {
       ],
       copyright: `
             <div style="margin-top: 20px;">
-                <div style="border-top: 1px solid #ccc;min-height: 
60px;line-height: 20px;text-align: center;font-family: Avenir-Medium;font-size: 
14px;color: #999;display: flex;align-items: center;"><span>Copyright © 
2021-${new Date().getFullYear()} The Apache Software Foundation. Apache 
SeaTunnel and its feather logo are trademarks of The Apache Software 
Foundation.</span></div>
+                <div style="min-height: 60px;line-height: 20px;text-align: 
center;font-family: Avenir-Medium;font-size: 14px;color: #999;display: 
flex;align-items: center;justify-content: center;"><span>Copyright © 2021-${new 
Date().getFullYear()} The Apache Software Foundation. Apache SeaTunnel and its 
feather logo are trademarks of The Apache Software Foundation.</span></div>
                 <div style="text-align: center;">
                     <a href="https://twitter.com/asfseatunnel?s=21"; 
target="_blank" title="Twitter" ><svg t="1644553365083" class="icon" viewBox="0 
0 1260 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"; p-id="7015" 
width="38" height="38"><path d="M1259.846921 121.148242c-46.524504 
20.728739-96.273478 34.547899-148.325646 40.536201 53.434084-31.784067 
94.430924-82.454319 113.777747-142.797982-50.209613 29.480874-105.486251 
51.13089-164.447999 62.646857A257.584528 257.584528 0 0 0 8 [...]
                     <a href="https://s.apache.org/seatunnel-slack"; 
target="_blank" title="Slack" style="margin-left: 20px;"><svg t="1644553076784" 
class="icon" viewBox="0 0 1024 1024" version="1.1" 
xmlns="http://www.w3.org/2000/svg"; p-id="3088" width="36" height="36"><path 
d="M215.125333 647.04a107.861333 107.861333 0 0 1-107.52 107.648A107.861333 
107.861333 0 0 1 0 647.04a107.818667 107.818667 0 0 1 
107.605333-107.52h107.52v107.52z m54.229334 0a107.818667 107.818667 0 0 1 
107.562666-107 [...]
diff --git a/src/css/custom.css b/src/css/custom.css
index eb476813328a..990775510f88 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -257,6 +257,13 @@ html[data-theme='dark'] .dropdown__menu .dropdown__link {
   color: var(--st-shell-text-strong);
 }
 
+.footer__copyright {
+  display: block;
+  max-width: 56rem;
+  margin: 0 auto;
+  text-align: center;
+}
+
 .theme-doc-sidebar-container,
 .theme-doc-toc-desktop,
 .pagination-nav__link,
diff --git a/src/pages/home/index.less b/src/pages/home/index.less
index 625baeaf99d0..34381ed3826d 100644
--- a/src/pages/home/index.less
+++ b/src/pages/home/index.less
@@ -195,6 +195,7 @@ body.seatunnel-homepage-page .index-nav .dropdown__menu 
.dropdown__link {
 
 .seatunnel-homepage-shell {
   min-height: 100vh;
+  overflow-x: clip;
 }
 
 .st-home {
@@ -226,6 +227,7 @@ body.seatunnel-homepage-page .index-nav .dropdown__menu 
.dropdown__link {
   --r-lg: 24px;
   color: var(--t1);
   background: var(--bg0);
+  overflow-x: clip;
   font-family: var(--ifm-font-family-base);
   line-height: 1.6;
 

Reply via email to