mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-13 07:09:02 +08:00
fix: table resize (#3227)
This commit is contained in:
parent
5469cd34fa
commit
5c83d133a2
3
frontend/src/container/QueryTable/config.ts
Normal file
3
frontend/src/container/QueryTable/config.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import { CSSProperties } from 'styled-components';
|
||||
|
||||
export const QUERY_TABLE_CONFIG: CSSProperties = { width: 145 };
|
@ -5,6 +5,7 @@ import {
|
||||
initialQueryBuilderFormValues,
|
||||
} from 'constants/queryBuilder';
|
||||
import { FORMULA_REGEXP } from 'constants/regExp';
|
||||
import { QUERY_TABLE_CONFIG } from 'container/QueryTable/config';
|
||||
import { QueryTableProps } from 'container/QueryTable/QueryTable.intefaces';
|
||||
import { ReactNode } from 'react';
|
||||
import {
|
||||
@ -453,6 +454,7 @@ const generateTableColumns = (
|
||||
const column: ColumnType<RowData> = {
|
||||
dataIndex: item.dataIndex,
|
||||
title: item.title,
|
||||
width: QUERY_TABLE_CONFIG.width,
|
||||
render: renderColumnCell && renderColumnCell[item.dataIndex],
|
||||
// sorter: item.sortable
|
||||
// ? (a: RowData, b: RowData): number =>
|
||||
|
Loading…
x
Reference in New Issue
Block a user