File tree Expand file tree Collapse file tree 3 files changed +4
-16
lines changed
ResourceBrowser/ResourceList Expand file tree Collapse file tree 3 files changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -52,22 +52,14 @@ const AdminTerminal: React.FC<AdminTerminalProps> = ({ updateTerminalTabUrl }: A
52
52
} , [ data ] )
53
53
54
54
if ( loading ) {
55
- return (
56
- < div className = "h-100 node-data-container bg__primary" >
57
- < Progressing pageLoader size = { 32 } />
58
- </ div >
59
- )
55
+ return < Progressing pageLoader size = { 32 } />
60
56
}
61
57
62
58
if ( error || ! details . nodeCount || ! details . namespaceList ?. length ) {
63
59
/* NOTE: if nodeCount is 0 show Reload page or show Unauthorized if not SuperAdmin */
64
60
/* NOTE: the above happens in case of bad cluster setup */
65
61
const errCode = error ?. code || 403
66
- return (
67
- < div className = "bg__primary node-data-container flex" >
68
- < ErrorScreenManager code = { errCode } />
69
- </ div >
70
- )
62
+ return < ErrorScreenManager code = { errCode } />
71
63
}
72
64
73
65
return (
Original file line number Diff line number Diff line change @@ -53,11 +53,7 @@ const K8SResourceTabComponent = ({
53
53
const errorMessage = error ?. errors ?. [ 0 ] ?. userMessage || error ?. message || null
54
54
55
55
if ( error ?. code === 403 ) {
56
- return (
57
- < div className = "resource-browser bg__primary flex" >
58
- < ErrorScreenManager code = { 403 } />
59
- </ div >
60
- )
56
+ return < ErrorScreenManager code = { 403 } />
61
57
}
62
58
63
59
if ( loading || error ) {
Original file line number Diff line number Diff line change @@ -607,7 +607,7 @@ const HistoryLogs = ({
607
607
{ loading ? (
608
608
< Progressing pageLoader />
609
609
) : (
610
- < div className = "p-16 flexbox-col dc__gap-8" >
610
+ < div className = "p-16 flexbox-col dc__gap-8 flex-grow-1 " >
611
611
{ isJobCI && CiArtifactsArrayCards }
612
612
< Artifacts
613
613
status = { triggerDetails . status }
You can’t perform that action at this time.
0 commit comments