Skip to content

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: add page-main-wrap class

shuai7ffd86e14a11
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"