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: table responsive
shuaiad951c8c494c
diff --git a/ui/src/pages/Admin/Answers/components/Action/index.tsx b/ui/src/pages/Admin/Answers/components/Action/index.tsxindex c4308cd2..7dc3bb33 100644--- a/ui/src/pages/Admin/Answers/components/Action/index.tsx+++ b/ui/src/pages/Admin/Answers/components/Action/index.tsx@@ -78,7 +78,7 @@ const AnswerActions = ({ itemData, curFilter, refreshList }) => {title={t('action', { keyPrefix: 'admin.answers' })}/></Dropdown.Toggle>- <Dropdown.Menu>+ <Dropdown.Menu align="end">{curFilter === 'deleted' ? (<Dropdown.Item onClick={() => handleAction('undelete')}>{t('undelete', { keyPrefix: 'btns' })}diff --git a/ui/src/pages/Admin/Answers/index.tsx b/ui/src/pages/Admin/Answers/index.tsxindex 42339263..6f9f627e 100644--- a/ui/src/pages/Admin/Answers/index.tsx+++ b/ui/src/pages/Admin/Answers/index.tsx@@ -94,7 +94,7 @@ const Answers: FC = () => {className="mt-3 mt-sm-0"/></div>- <Table responsive>+ <Table responsive="md"><thead><tr><th className="min-w-15">{t('post')}</th>diff --git a/ui/src/pages/Admin/Plugins/Installed/index.tsx b/ui/src/pages/Admin/Plugins/Installed/index.tsxindex f1ced442..e498e239 100644--- a/ui/src/pages/Admin/Plugins/Installed/index.tsx+++ b/ui/src/pages/Admin/Plugins/Installed/index.tsx@@ -103,7 +103,7 @@ const Users: FC = () => {/></Stack></div>- <Table responsive>+ <Table responsive="md"><thead><tr><th className="min-w-15">{t('name')}</th>diff --git a/ui/src/pages/Admin/Questions/components/Action/index.tsx b/ui/src/pages/Admin/Questions/components/Action/index.tsxindex f5d2b41f..0dc1fefa 100644--- a/ui/src/pages/Admin/Questions/components/Action/index.tsx+++ b/ui/src/pages/Admin/Questions/components/Action/index.tsx@@ -139,7 +139,7 @@ const AnswerActions = ({ itemData, refreshList, curFilter, show, pin }) => {title={t('action', { keyPrefix: 'admin.answers' })}/></Dropdown.Toggle>- <Dropdown.Menu>+ <Dropdown.Menu align="end">{curFilter === 'normal' && (<Dropdown.Item onClick={() => handleAction('close')}>{t('close', { keyPrefix: 'btns' })}diff --git a/ui/src/pages/Admin/Questions/index.tsx b/ui/src/pages/Admin/Questions/index.tsxindex 4a3c669a..ab33155e 100644--- a/ui/src/pages/Admin/Questions/index.tsx+++ b/ui/src/pages/Admin/Questions/index.tsx@@ -92,7 +92,7 @@ const Questions: FC = () => {className="mt-3 mt-sm-0"/></div>- <Table responsive>+ <Table responsive="md"><thead><tr><th className="min-w-15">{t('post')}</th>diff --git a/ui/src/pages/Admin/Users/components/Action/index.tsx b/ui/src/pages/Admin/Users/components/Action/index.tsxindex 0bb9a667..8c98b1c7 100644--- a/ui/src/pages/Admin/Users/components/Action/index.tsx+++ b/ui/src/pages/Admin/Users/components/Action/index.tsx@@ -160,7 +160,7 @@ const UserOperation = ({<Dropdown.Toggle variant="link" className="no-toggle p-0"><Icon name="three-dots-vertical" title={t('action')} /></Dropdown.Toggle>- <Dropdown.Menu>+ <Dropdown.Menu align="end">{showActionPassword ? (<Dropdown.Item onClick={() => handleAction('password')}>{t('set_new_password')}diff --git a/ui/src/pages/Admin/Users/index.tsx b/ui/src/pages/Admin/Users/index.tsxindex c8f4fab4..cfabd20a 100644--- a/ui/src/pages/Admin/Users/index.tsx+++ b/ui/src/pages/Admin/Users/index.tsx@@ -193,7 +193,7 @@ const Users: FC = () => {className="mt-3 mt-sm-0"/></div>- <Table responsive>+ <Table responsive="md"><thead><tr><th>{t('name')}</th>diff --git a/ui/src/pages/Timeline/index.tsx b/ui/src/pages/Timeline/index.tsxindex 66c7b03c..fb3f488e 100644--- a/ui/src/pages/Timeline/index.tsx+++ b/ui/src/pages/Timeline/index.tsx@@ -118,7 +118,7 @@ const Index: FC = () => {onChange={(e) => handleSwitch(e.target.checked)}/>)}- <Table hover responsive>+ <Table hover responsive="md"><thead><tr><th style={{ width: '20%' }}>{t('datetime')}</th>