Skip to content

Commit 97f95ee

Browse files
Merge pull request #1540 from devtron-labs/fix/no-pop-list
fix: css nopod
2 parents be5ce8e + 41bd451 commit 97f95ee

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/components/app/ResourceTreeNodes.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ const PodPopup: React.FC<{appName: string, environmentName: string, name: string
841841
}
842842

843843
export function NoPod({ selectMessage = "Select a pod to view events", style = {} }) {
844-
return <div data-testid="no-pod" className="no-pod no-pod--pod" style={{ ...style }}>
844+
return <div data-testid="no-pod" className="no-pod no-pod-list no-pod--pod" style={{ ...style }}>
845845
<PodIcon color="var(--N400)" style={{ width: '48px', height: '48px', marginBottom: '12px' }} />
846846
<p>{selectMessage}</p>
847847
</div>

src/components/app/details/appDetails/appDetails.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,12 @@ table.pod__table td:last-child {
245245
padding-right: 20px;
246246
}
247247

248+
.no-pod-list{
249+
display: flex;
250+
align-items: center;
251+
justify-content: center;
252+
}
253+
248254
.no-pod {
249255
width: 100%;
250256
height: 100%;

0 commit comments

Comments
 (0)