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


The following commit(s) were added to refs/heads/test by this push:
     new 6d2dd57d fix: delete  page-main-wrap class
6d2dd57d is described below

commit 6d2dd57df87e738b908c2181f000fbd8480f8d75
Author: shuai <lishuail...@sifou.com>
AuthorDate: Tue Aug 19 16:23:13 2025 +0800

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

diff --git a/ui/src/common/sideNavLayout.scss b/ui/src/common/sideNavLayout.scss
index 7b958604..0308c167 100644
--- a/ui/src/common/sideNavLayout.scss
+++ b/ui/src/common/sideNavLayout.scss
@@ -35,9 +35,7 @@
     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 f78a2427..7239feb6 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 page-main-wrap">
+    <Row className="pt-4 mb-5">
       <Col className="page-main flex-auto overflow-x-hidden">
         <QuestionList
           source="questions"
diff --git a/ui/src/pages/SideNavLayout/index.tsx 
b/ui/src/pages/SideNavLayout/index.tsx
index 88111ab0..0db8593e 100644
--- a/ui/src/pages/SideNavLayout/index.tsx
+++ b/ui/src/pages/SideNavLayout/index.tsx
@@ -32,7 +32,7 @@ const Index: FC = () => {
         id="pcSideNav">
         <SideNav />
       </div>
-      <div className="flex-fill w-100">
+      <div className="flex-fill w-100 overflow-x-hidden">
         <div className="d-flex justify-content-center px-0 px-md-4">
           <div className="answer-container">
             <Outlet />

Reply via email to