Playlist style fixes #6509
5 changed files with 17 additions and 3 deletions
|
@ -35,10 +35,10 @@ export default function CollectionContent(props: Props) {
|
|||
</span>
|
||||
}
|
||||
titleActions={
|
||||
<>
|
||||
<div className="card__title-actions--link">
|
||||
{/* TODO: BUTTON TO SAVE COLLECTION - Probably save/copy modal */}
|
||||
<Button label={'View List'} button="link" navigate={`/$/${PAGES.LIST}/${id}`} />
|
||||
</>
|
||||
</div>
|
||||
}
|
||||
body={<ClaimList isCardBody type="small" uris={collectionUrls} collectionId={id} empty={__('List is Empty')} />}
|
||||
/>
|
||||
|
|
|
@ -103,7 +103,7 @@ export default function CollectionPage(props: Props) {
|
|||
|
||||
const subTitle = (
|
||||
<div>
|
||||
{uri ? <span>{collectionCount} items</span> : <span>{collectionCount} items</span>}
|
||||
<span className="collection__subtitle">{collectionCount} items</span>
|
||||
{uri && <ClaimAuthor uri={uri} />}
|
||||
</div>
|
||||
);
|
||||
|
|
|
@ -226,6 +226,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
.card__title-actions--link {
|
||||
margin-top: var(--spacing-xs);
|
||||
margin-right: var(--spacing-xs);
|
||||
}
|
||||
|
||||
.card__title-actions--small {
|
||||
padding: 0;
|
||||
}
|
||||
|
|
|
@ -242,6 +242,10 @@
|
|||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
|
||||
.claim-preview__actions {
|
||||
margin-left: var(--spacing-m);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: $breakpoint-xsmall) {
|
||||
|
|
|
@ -4,6 +4,11 @@
|
|||
position: relative;
|
||||
}
|
||||
|
||||
.collection__subtitle {
|
||||
display: flex;
|
||||
margin-bottom: var(--spacing-s);
|
||||
}
|
||||
|
||||
.collection-preview__items {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
Loading…
Reference in a new issue