File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed
airbyte-webapp/src/components/JobItem Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change
1
+ @use " ../../scss/colors" ;
2
+
3
+ .logsLoadingContainer {
4
+ display : flex ;
5
+ align-items : center ;
6
+ justify-content : center ;
7
+ background : colors .$white ;
8
+ padding : 6px 0 ;
9
+ min-height : 58px ;
10
+ }
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import ContentWrapper from "./components/ContentWrapper";
11
11
import ErrorDetails from "./components/ErrorDetails" ;
12
12
import JobLogs from "./components/JobLogs" ;
13
13
import MainInfo from "./components/MainInfo" ;
14
+ import styles from "./JobItem.module.scss" ;
14
15
15
16
const Item = styled . div < { isFailed : boolean } > `
16
17
border-bottom: 1px solid ${ ( { theme } ) => theme . greyColor20 } ;
@@ -22,13 +23,6 @@ const Item = styled.div<{ isFailed: boolean }>`
22
23
}
23
24
` ;
24
25
25
- const LoadLogs = styled . div `
26
- background: ${ ( { theme } ) => theme . whiteColor } ;
27
- text-align: center;
28
- padding: 6px 0;
29
- min-height: 58px;
30
- ` ;
31
-
32
26
interface JobItemProps {
33
27
job : SynchronousJobRead | JobsWithJobs ;
34
28
}
@@ -74,9 +68,9 @@ export const JobItem: React.FC<JobItemProps> = ({ job }) => {
74
68
< div >
75
69
< Suspense
76
70
fallback = {
77
- < LoadLogs >
78
- < Spinner />
79
- </ LoadLogs >
71
+ < div className = { styles . logsLoadingContainer } >
72
+ < Spinner small />
73
+ </ div >
80
74
}
81
75
>
82
76
{ isOpen && (
You can’t perform that action at this time.
0 commit comments