Skip to content

Commit b2f329d

Browse files
committed
fix: query tables styles
1 parent 53a7902 commit b2f329d

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

src/components/QueryResultTable/QueryResultTable.tsx

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,14 @@ export const QueryResultTable = (props: QueryResultTableProps) => {
105105
}
106106

107107
return (
108-
<div style={{display: 'flex', flexGrow: 1}}>
109-
<ResizeableDataTable
110-
data={data}
111-
columns={preparedColumns}
112-
settings={settings}
113-
// prevent accessing row.id in case it is present but is not the PK (i.e. may repeat)
114-
rowKey={getRowIndex}
115-
visibleRowIndex={getVisibleRowIndex}
116-
wrapperClassName={b('table-wrapper')}
117-
/>
118-
</div>
108+
<ResizeableDataTable
109+
data={data}
110+
columns={preparedColumns}
111+
settings={settings}
112+
// prevent accessing row.id in case it is present but is not the PK (i.e. may repeat)
113+
rowKey={getRowIndex}
114+
visibleRowIndex={getVisibleRowIndex}
115+
wrapperClassName={b('table-wrapper')}
116+
/>
119117
);
120118
};

src/components/ResizeableDataTable/ResizeableDataTable.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
.ydb-resizeable-data-table {
2-
display: flex;
3-
42
width: max-content;
53

64
// padding for easier resize of the last column

0 commit comments

Comments
 (0)