From fbc35887ab664b47149626273a10303dc53ddd41 Mon Sep 17 00:00:00 2001 From: Jack Ye Date: Tue, 11 Nov 2025 21:03:27 -0800 Subject: [PATCH] chore: fix new ui view in mobile --- docs/src/assets/stylesheets/home.css | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/docs/src/assets/stylesheets/home.css b/docs/src/assets/stylesheets/home.css index e8b0aa19c7e..e434d2fb897 100644 --- a/docs/src/assets/stylesheets/home.css +++ b/docs/src/assets/stylesheets/home.css @@ -140,7 +140,7 @@ line-height: 1.8; margin-bottom: 32px; opacity: 0.9; - text-align: left; + text-align: center; } .lance-intro-content .md-button { @@ -274,15 +274,28 @@ } } -@media (max-width: 480px) { - .mdx-hero__content h1 { - font-size: 1.8rem; +@media (max-width: 960px) { + .intro-message .list-inline li { + display: block; + padding: 0; + margin-bottom: 12px; } - .mdx-hero__content .md-button { + .intro-message .md-button { display: block; - margin: 8px auto; + margin: 0 auto; width: 90%; + max-width: 350px; + } +} + +@media (max-width: 480px) { + .intro-message h1 { + font-size: 1.8rem; + } + + .intro-message .md-button { + max-width: 300px; } [data-termynal] {