File tree 2 files changed +11
-11
lines changed
2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ class ErrorBoundary extends Component {
27
27
28
28
if ( hasError ) {
29
29
return (
30
- < div className = "ErrorBoundary " >
31
- < div className = "ErrorBoundaryLoader " > { errorText } </ div >
30
+ < div className = "error-boundary " >
31
+ < div className = "error-boundary-loader " > { errorText } </ div >
32
32
</ div >
33
33
) ;
34
34
}
Original file line number Diff line number Diff line change 1
- .ErrorBoundary {
1
+ .error-boundary {
2
2
background-color : #b2b2b2 ;
3
3
display : flex ;
4
4
align-items : center ;
7
7
height : 100% ;
8
8
9
9
// From: https://github.com/lukehaas/css-loaders
10
- .ErrorBoundaryLoader ,
11
- .ErrorBoundaryLoader :before ,
12
- .ErrorBoundaryLoader :after {
10
+ .error-boundary-loader ,
11
+ .error-boundary-loader :before ,
12
+ .error-boundary-loader :after {
13
13
border-radius : 50% ;
14
14
width : 2.5em ;
15
15
height : 2.5em ;
19
19
animation-fill-mode : both ;
20
20
}
21
21
22
- .ErrorBoundaryLoader {
22
+ .error-boundary-loader {
23
23
color : #ffffff ;
24
24
font-size : 10px ;
25
25
margin : 80px auto ;
32
32
animation-delay : -0.16s ;
33
33
}
34
34
35
- .ErrorBoundaryLoader :before ,
36
- .ErrorBoundaryLoader :after {
35
+ .error-boundary-loader :before ,
36
+ .error-boundary-loader :after {
37
37
content : " " ;
38
38
position : absolute ;
39
39
top : 0 ;
40
40
}
41
41
42
- .ErrorBoundaryLoader :before {
42
+ .error-boundary-loader :before {
43
43
left : -3.5em ;
44
44
-webkit-animation-delay : -0.32s ;
45
45
animation-delay : -0.32s ;
46
46
}
47
47
48
- .ErrorBoundaryLoader :after {
48
+ .error-boundary-loader :after {
49
49
left : 3.5em ;
50
50
}
51
51
You can’t perform that action at this time.
0 commit comments