added className to bottom

This commit is contained in:
srgooglo 2022-06-06 14:52:43 +02:00
parent 35f7098a14
commit bee41497ae
2 changed files with 5 additions and 0 deletions

View File

@ -52,6 +52,7 @@ export default React.forwardRef((props, ref) => {
<div
id="bottom"
className="bottom"
style={{ display: hasMore ? "block" : "none" }}
>
{loadingComponent && React.createElement(loadingComponent)}

View File

@ -6,6 +6,10 @@
text-align: center;
}
.bottom {
width: fit-content;
}
.list-loader {
height: 16vw;
margin: auto;