A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix: delete page-main-wrap class
shuai6d2dd57df87e
diff --git a/ui/src/common/sideNavLayout.scss b/ui/src/common/sideNavLayout.scssindex 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.tsxindex 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"><QuestionListsource="questions"diff --git a/ui/src/pages/SideNavLayout/index.tsx b/ui/src/pages/SideNavLayout/index.tsxindex 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 />