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: 404 page and 50x ui adjustment

shuaia0e805a18039
diff --git a/ui/src/pages/404/index.jsx b/ui/src/pages/404/index.jsx
index 6cdb4df4..48f673e7 100644
--- a/ui/src/pages/404/index.jsx
+++ b/ui/src/pages/404/index.jsx
@@ -25,8 +25,8 @@ const Index = () => {
style={{ fontSize: '120px', lineHeight: 1.2 }}>
(=‘x‘=)
</div>
- <h4 className="text-center mb-2">{t('http_error')}</h4>
- <div className="text-center mb-3">{t('desc')}</div>
+ <h4 className="text-center">{t('http_error')}</h4>
+ <div className="text-center mb-3 fs-5">{t('desc')}</div>
<div className="text-center">
<Button as={Link} to="/" variant="link">
{t('back_home')}
diff --git a/ui/src/pages/50X/index.jsx b/ui/src/pages/50X/index.jsx
index 50e1f235..fd824b10 100644
--- a/ui/src/pages/50X/index.jsx
+++ b/ui/src/pages/50X/index.jsx
@@ -22,8 +22,8 @@ const Index = () => {
(=T^T=)
</div>
- <h4 className="text-center mb-2">{t('http_error')}</h4>
- <div className="text-center mb-3">{t('desc')}</div>
+ <h4 className="text-center">{t('http_error')}</h4>
+ <div className="text-center mb-3 fs-5">{t('desc')}</div>
<div className="text-center">
<Button as={Link} to="/" variant="link">
{t('back_home')}