Skip to content

Commit 886ff49

Browse files
RohitRaj011Elessar1802
authored andcommitted
fix: DeploymentConfigDiff - css refactor
1 parent 05555fc commit 886ff49

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

src/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
&__main-content {
2121
height: calc(100vh - 122px);
2222
overflow: auto;
23+
24+
&__comparison {
25+
margin: 16px 0 0;
26+
}
2327
}
2428

2529
& .react-monaco-editor-container {

src/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffMain.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,20 +148,20 @@ export const DeploymentConfigDiffMain = ({
148148
/>
149149
</>
150150
) : (
151-
<>
152-
<div className="bcn-1 deployment-diff__upper dc__top-radius-4 mt-16 ml-16 mr-16 dc__border-right dc__border-left dc__border-top">
151+
<div className="p-16">
152+
<div className="bcn-1 deployment-diff__upper dc__top-radius-4 dc__border-right dc__border-left dc__border-top">
153153
<div className="px-12 py-6 dc__border-right">{primaryHeading}</div>
154154
<div className="px-12 py-6">{secondaryHeading}</div>
155155
</div>
156156
<DeploymentHistoryDiffView
157157
baseTemplateConfiguration={secondaryList}
158158
currentConfiguration={primaryList}
159159
previousConfigAvailable
160-
rootClassName="m-16 mt-0-imp dc__no-top-radius dc__no-top-border"
161-
comparisonBodyClassName="m-16"
160+
rootClassName="m-0 dc__no-top-radius dc__no-top-border"
161+
comparisonBodyClassName="deployment-config-diff__main-content__comparison"
162162
sortOrder={sortingConfig?.sortOrder}
163163
/>
164-
</>
164+
</div>
165165
)}
166166
</DeploymentConfigDiffAccordion>
167167
)

src/Shared/constants.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,3 +469,5 @@ export enum SelectAllGroupedResourceIdentifiers {
469469
allExistingAndFutureProdEnvironments = '-2',
470470
allExistingAndFutureEnvironments = '-3',
471471
}
472+
473+
export const TRIGGER_STATUS_PROGRESSING = ['progressing', 'initiating', 'running', 'starting']

0 commit comments

Comments
 (0)