Skip to content

Commit 8a12d68

Browse files
committed
AR-829: Lower cased class names
1 parent 9ce100d commit 8a12d68

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

src/error-boundary.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ class ErrorBoundary extends Component {
2727

2828
if (hasError) {
2929
return (
30-
<div className="ErrorBoundary">
31-
<div className="ErrorBoundaryLoader">{errorText}</div>
30+
<div className="error-boundary">
31+
<div className="error-boundary-loader">{errorText}</div>
3232
</div>
3333
);
3434
}

src/error-boundary.scss

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.ErrorBoundary {
1+
.error-boundary {
22
background-color: #b2b2b2;
33
display: flex;
44
align-items: center;
@@ -7,9 +7,9 @@
77
height: 100%;
88

99
// 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 {
1313
border-radius: 50%;
1414
width: 2.5em;
1515
height: 2.5em;
@@ -19,7 +19,7 @@
1919
animation-fill-mode: both;
2020
}
2121

22-
.ErrorBoundaryLoader {
22+
.error-boundary-loader {
2323
color: #ffffff;
2424
font-size: 10px;
2525
margin: 80px auto;
@@ -32,20 +32,20 @@
3232
animation-delay: -0.16s;
3333
}
3434

35-
.ErrorBoundaryLoader:before,
36-
.ErrorBoundaryLoader:after {
35+
.error-boundary-loader:before,
36+
.error-boundary-loader:after {
3737
content: "";
3838
position: absolute;
3939
top: 0;
4040
}
4141

42-
.ErrorBoundaryLoader:before {
42+
.error-boundary-loader:before {
4343
left: -3.5em;
4444
-webkit-animation-delay: -0.32s;
4545
animation-delay: -0.32s;
4646
}
4747

48-
.ErrorBoundaryLoader:after {
48+
.error-boundary-loader:after {
4949
left: 3.5em;
5050
}
5151

0 commit comments

Comments
 (0)