Change design of "New collection" button in "Add to collection" dialog (#40133)

This commit is contained in:
diondiondion authored and Claire committed 2026-08-13 14:42:43 +02:00
1 parent bfd69230af
commit c6d5595f0b
4 files changed
+25 -12

No files matched your search

@@ -174,12 +174,17 @@ export const CollectionAdder: React.FC<{
/>
}
>
<NewCollectionButton onClick={handleNewCollection} />
<NewCollectionButton compact onClick={handleNewCollection} />
</EmptyState>
) : (
<>
<div className={classes.newCollection}>
<NewCollectionButton onClick={handleNewCollection} />
<NewCollectionButton secondary onClick={handleNewCollection}>
<FormattedMessage
id='collections.create_new_collection'
defaultMessage='Create new collection'
/>
</NewCollectionButton>
</div>
{collections.map((item) => (
<ListItem key={item.id} collection={item} account={account} />
@@ -1,5 +1,3 @@
.newCollection {
display: flex;
justify-content: center;
padding-block: 16px;
padding: 16px;
}