Skip to content

Commit

Permalink
fix: Publish Button layout
Browse files Browse the repository at this point in the history
  • Loading branch information
ekraffmiller committed Oct 3, 2024
1 parent 43477b8 commit c20f84c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/sections/collection/Collection.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
gap: 10px;
}

.action-buttons {
display: flex;
justify-content: flex-end;
margin-bottom: 10px;
}

.subtext {
color: $dv-subtext-color;
}
2 changes: 1 addition & 1 deletion src/sections/collection/Collection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function Collection({
</Alert>
)}
{!collection.isReleased && canUserPublishCollection && (
<div className={styles.container}>
<div className={styles['action-buttons']}>
<PublishCollectionButton
repository={collectionRepository}
collectionId={collection.id}
Expand Down

0 comments on commit c20f84c

Please sign in to comment.