Skip to content

Commit 0750487

Browse files
LasserichGenosseOttlucasgoral
authored
feat: unify table layout of MCP page (#250)
Co-authored-by: Johannes Ott <[email protected]> Co-authored-by: Łukasz Goral <[email protected]>
1 parent 39ce5a3 commit 0750487

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

src/components/ControlPlane/ComponentList.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,7 @@ export default function ComponentList({ mcp }: { mcp: ControlPlaneType }) {
4141

4242
return (
4343
<div>
44-
<AnalyticalTable
45-
scaleWidthMode="Smart"
46-
columns={componentTableColumns}
47-
minRows={0}
48-
data={data}
49-
style={{ marginLeft: '12px', marginRight: '12px' }}
50-
/>
44+
<AnalyticalTable scaleWidthMode="Smart" columns={componentTableColumns} minRows={0} data={data} />
5145
</div>
5246
);
5347
}

src/components/ControlPlane/ManagedResources.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ export function ManagedResources() {
145145

146146
{!error && (
147147
<AnalyticalTable
148-
style={{ margin: '12px' }}
149148
columns={columns}
150149
data={rows}
151150
minRows={1}

src/components/Shared/ConfiguredAnalyticsTable.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ export default function ConfiguredAnalyticsTable(props: Props) {
2121
scaleWidthMode={AnalyticalTableScaleWidthMode.Smart}
2222
loading={props.isLoading}
2323
filterable
24-
style={{ margin: '12px' }}
2524
/>
2625
);
2726
}

0 commit comments

Comments
 (0)