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

shuai pushed a commit to branch test
in repository https://gitbox.apache.org/repos/asf/answer.git

commit 7ffd86e14a1114c2012743e3d04be0766526ef43
Author: shuai <lishuail...@sifou.com>
AuthorDate: Tue Aug 19 14:38:03 2025 +0800

    fix: add page-main-wrap class
---
 ui/src/common/sideNavLayout.scss | 3 +++
 ui/src/pages/Questions/index.tsx | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ui/src/common/sideNavLayout.scss b/ui/src/common/sideNavLayout.scss
index db2fd016..7b958604 100644
--- a/ui/src/common/sideNavLayout.scss
+++ b/ui/src/common/sideNavLayout.scss
@@ -35,6 +35,9 @@
     padding-left: 12px;
     padding-right: 12px;
   }
+  .page-main-wrap {
+    max-width: 100%;
+  }
   .page-main {
     max-width: 100%;
   }
diff --git a/ui/src/pages/Questions/index.tsx b/ui/src/pages/Questions/index.tsx
index 7239feb6..f78a2427 100644
--- a/ui/src/pages/Questions/index.tsx
+++ b/ui/src/pages/Questions/index.tsx
@@ -68,7 +68,7 @@ const Questions: FC = () => {
 
   usePageTags({ title: pageTitle, subtitle: slogan });
   return (
-    <Row className="pt-4 mb-5">
+    <Row className="pt-4 mb-5 page-main-wrap">
       <Col className="page-main flex-auto overflow-x-hidden">
         <QuestionList
           source="questions"

Reply via email to