fix(studios): remove duplicate css for full width load more buttons

Remove the `display: content;` way of making the load more button full width, and reuse the existing
shared css class instead. Also change the markup back to the way it was originally, with the load
more button within the grid, since that is how it is meant to be used
This commit is contained in:
Paul Kaplan 2021-07-06 15:06:26 -04:00
parent d693beb1b3
commit ad386714a9
2 changed files with 13 additions and 16 deletions

View file

@ -92,9 +92,8 @@ const UserProjectsModal = ({
onRemove={onRemove}
/>
))}
</div>
{moreToLoad &&
<div className="studio-projects-load-more">
<div className="studio-grid-load-more">
<button
className={classNames('button', {
'mod-mutating': loading
@ -105,6 +104,8 @@ const UserProjectsModal = ({
</button>
</div>
}
</div>
</React.Fragment>
}
{!loading && items.length === 0 &&

View file

@ -44,10 +44,6 @@
}
}
.studio-projects-load-more {
display: contents;
}
.studio-projects-done-row {
display: flex;
justify-content: flex-end;