Skip to content

Commit 782ed97

Browse files
committed
improve readability
1 parent e2a675f commit 782ed97

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

src/components/ControlPlane/ComponentList.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export default function ComponentList({ mcp }: { mcp: ControlPlaneType }) {
5151
columns={componentTableColumns}
5252
minRows={0}
5353
data={data}
54+
style={{marginLeft: "12px", marginRight: "12px"}}
5455
/>
5556

5657
</div>

src/components/Shared/ConfiguredAnalyticsTable.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export default function ConfiguredAnalyticsTable(props: Props) {
2323
scaleWidthMode={AnalyticalTableScaleWidthMode.Smart}
2424
loading={props.isLoading}
2525
filterable
26+
style={{margin: "12px"}}
2627
/>
2728
);
2829
}

src/index.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@
8686
margin-bottom: -30px;
8787
}
8888

89+
.cp-panel {
90+
margin: 12px;
91+
}
92+
8993
.cp-panel-crossplane {
9094
background-color: #FFC933;
9195
}

src/views/ControlPlanes/ControlPlaneView.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,22 +74,22 @@ export default function ControlPlaneView() {
7474
titleText="Components"
7575
hideTitleText
7676
>
77-
<Panel headerLevel="H2" headerText="Panel" header={<Title level="H3">Components</Title>} noAnimation>
77+
<Panel className="cp-panel" headerLevel="H2" headerText="Panel" header={<Title level="H3">Components</Title>} noAnimation>
7878
<ComponentList mcp={mcp}></ComponentList>
7979
</Panel>
8080
</ObjectPageSection>
8181
<ObjectPageSection
8282
className="cp-page-section-crossplane"
8383
id="crossplane"
84-
titleText="Crossplane"
84+
titleText="Managed Resources"
8585
hideTitleText
8686
>
87-
<Panel className="cp-panel-crossplane" headerLevel="H3" headerText="Panel" header={<Title level="H3">Crossplane</Title>} noAnimation>
87+
<Panel className="cp-panel cp-panel-crossplane" headerLevel="H3" headerText="Panel" header={<Title level="H3">Managed Resources</Title>} noAnimation>
8888
<ProvidersList />
8989
</Panel>
9090
</ObjectPageSection>
9191
<ObjectPageSection className="cp-page-section-gitops" id="gitops" titleText="GitOps" hideTitleText>
92-
<Panel className="cp-panel-gitops" headerLevel="H3" headerText="Panel" header={<Title level="H3">GitOps</Title>} noAnimation>
92+
<Panel className="cp-panel cp-panel-gitops" headerLevel="H3" headerText="Panel" header={<Title level="H3">GitOps</Title>} noAnimation>
9393
<FluxList />
9494
</Panel>
9595
</ObjectPageSection>

0 commit comments

Comments
 (0)