We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cad0c2 commit 4bff5d5Copy full SHA for 4bff5d5
client/src/components/LeaderBoard.jsx
@@ -83,14 +83,7 @@ export default function LeaderBoard({ daynight }) {
83
);
84
})}
85
{loading && (
86
- <li
87
- style={{
88
- display: "flex",
89
- justifyContent: "center",
90
- objectFit: "cover",
91
- height: "25px",
92
- }}
93
- >
+ <li>
94
<ul>
95
{[...Array(loading && items.length == 0 ? 14 : 3)].map(
96
(_, index) => (
@@ -109,8 +102,17 @@ export default function LeaderBoard({ daynight }) {
109
102
)
110
103
)}
111
104
</ul>
112
-
113
- <img alt="loading..." src={"img/loading.gif"} />
105
+ <div
106
+ style={{
107
+ display: "flex",
108
+ justifyContent: "center",
+ objectFit: "cover",
+ height: "25px",
+ }}
+ >
+ {" "}
114
+ <img alt="loading..." src={"img/loading.gif"} />
115
+ </div>
116
</li>
117
118
0 commit comments