Skip to content

Commit f04929e

Browse files
feat: Display collections by type (#3162)
* feat: Display collections by type * fix: Correctly show collection items * fix: Add the collections icon * fix: Tests
1 parent e5e3a5d commit f04929e

File tree

12 files changed

+544
-94
lines changed

12 files changed

+544
-94
lines changed

package-lock.json

+47
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
"@swc/core": "^1.3.105",
8383
"@swc/jest": "^0.2.31",
8484
"@testing-library/react": "^12.1.5",
85+
"@testing-library/react-hooks": "^8.0.1",
8586
"@types/blob-to-buffer": "^1.2.0",
8687
"@types/file-saver": "^2.0.0",
8788
"@types/interface-datastore": "^1.0.0",

src/components/CollectionsPage/CollectionsPage.css

+15-1
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,9 @@
180180

181181
.CollectionsPage .collections-main-actions {
182182
display: flex;
183+
justify-content: end;
183184
gap: 20px;
184-
margin-top: 20px;
185+
min-height: 74px;
185186
}
186187

187188
.CollectionsPage .collections-main-actions > :first-child {
@@ -201,3 +202,16 @@
201202
justify-self: end;
202203
flex: none;
203204
}
205+
206+
.CollectionsPage .collections-icon {
207+
width: 32px;
208+
height: 32px;
209+
margin-bottom: 20px;
210+
}
211+
212+
.CollectionsPage .action-tabs-container {
213+
display: flex;
214+
align-items: center;
215+
flex-direction: row;
216+
gap: 8px;
217+
}

0 commit comments

Comments
 (0)