This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 9b371f6b0b [fix](web ui) fix fe web ui (#14887)
9b371f6b0b is described below
commit 9b371f6b0b10ea971cbeb3f67d9899136f96b877
Author: jiafeng.zhang <[email protected]>
AuthorDate: Thu Dec 29 21:19:44 2022 +0800
[fix](web ui) fix fe web ui (#14887)
---
ui/src/components/table/index.less | 11 +++++++++++
ui/src/components/table/index.tsx | 2 +-
ui/src/pages/system/index.tsx | 1 +
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/ui/src/components/table/index.less
b/ui/src/components/table/index.less
index a417c7d0a2..49db6dbb64 100644
--- a/ui/src/components/table/index.less
+++ b/ui/src/components/table/index.less
@@ -33,3 +33,14 @@ under the License. */
position: absolute;
}
}
+:table {
+ :global {
+ .ant-table-thead > tr > th {
+ background: #fff !important;
+ white-space: nowrap;
+ }
+ .ant-table-tbody >tr> td {
+ white-space: nowrap;
+ }
+ }
+ }
diff --git a/ui/src/components/table/index.tsx
b/ui/src/components/table/index.tsx
index 5030b104be..94afff63c3 100644
--- a/ui/src/components/table/index.tsx
+++ b/ui/src/components/table/index.tsx
@@ -52,7 +52,7 @@ export default function SortFilterTable(props: any) {
<Table
columns={localColumns}
dataSource={tableData}
- scroll={{x:true}}
+ scroll={{ x: 'max-content' }}
size='small'
bordered
// onChange={onChange}
diff --git a/ui/src/pages/system/index.tsx b/ui/src/pages/system/index.tsx
index 35e0154012..ce96744a5b 100644
--- a/ui/src/pages/system/index.tsx
+++ b/ui/src/pages/system/index.tsx
@@ -80,6 +80,7 @@ export default function System(params: any) {
isSort={true}
isFilter={true}
isInner={true}
+ scroll={{ x: 'max-content' }}
path = 'System'
isSystem = {true}
allTableData={allTableData}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]