Commit a194b485 authored by Eric Rosenbaum's avatar Eric Rosenbaum

load more button is fill width

parent b1b0d6b2
...@@ -85,7 +85,8 @@ const UserProjectsModal = ({ ...@@ -85,7 +85,8 @@ const UserProjectsModal = ({
onRemove={onRemove} onRemove={onRemove}
/> />
))} ))}
{moreToLoad && </div>
{moreToLoad &&
<div className="studio-projects-load-more"> <div className="studio-projects-load-more">
<button <button
className={classNames('button', { className={classNames('button', {
...@@ -96,8 +97,7 @@ const UserProjectsModal = ({ ...@@ -96,8 +97,7 @@ const UserProjectsModal = ({
<FormattedMessage id="general.loadMore" /> <FormattedMessage id="general.loadMore" />
</button> </button>
</div> </div>
} }
</div>
</ModalInnerContent> </ModalInnerContent>
</Modal> </Modal>
); );
......
...@@ -31,6 +31,10 @@ ...@@ -31,6 +31,10 @@
& { max-height: calc(100vh - 105px); } & { max-height: calc(100vh - 105px); }
} }
} }
.studio-projects-load-more {
display: contents;
}
} }
.studio-tile-added { .studio-tile-added {
...@@ -70,6 +74,7 @@ ...@@ -70,6 +74,7 @@
.user-projects-modal-grid { .user-projects-modal-grid {
margin-top: 12px; margin-top: 12px;
margin-bottom: 8px;
display: grid; display: grid;
grid-template-columns: repeat(3, minmax(0,1fr)); grid-template-columns: repeat(3, minmax(0,1fr));
...@@ -82,10 +87,6 @@ ...@@ -82,10 +87,6 @@
column-gap: 14px; column-gap: 14px;
row-gap: 14px; row-gap: 14px;
.studio-projects-load-more {
grid-column: 1 / -1;
}
.studio-project-bottom { .studio-project-bottom {
padding: 8px 10px 8px 10px; padding: 8px 10px 8px 10px;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment