diff --git a/frontend/src/app/features/collections/user-collections/userCollection-list-item/userCollections-list-item.component.css b/frontend/src/app/features/collections/user-collections/userCollection-list-item/userCollections-list-item.component.css index bf9ed8f..b99a0bd 100644 --- a/frontend/src/app/features/collections/user-collections/userCollection-list-item/userCollections-list-item.component.css +++ b/frontend/src/app/features/collections/user-collections/userCollection-list-item/userCollections-list-item.component.css @@ -6,15 +6,29 @@ font-size: 20px; } -.list-line { +.collection-card { border-radius: 1px; - padding: 2px; + padding: 5px; + min-height: 225px; + margin: 10px 10px; +} +.card-coat{ + height: 100%; + border-radius: 5px; + cursor: pointer; } -.list-line:hover { +.card-coat:hover { background-color: var(--shz-light-bgh); } -:host-context([data-bs-theme="dark"]) .list-line:hover { +:host-context([data-bs-theme="dark"]) .card-coat:hover { background-color: var(--shz-dark-bgh); +} + +#poster { + border-radius: 5px; + min-height: 225px; + height: 225px; + object-fit:cover; } \ No newline at end of file diff --git a/frontend/src/app/features/collections/user-collections/userCollection-list-item/userCollections-list-item.component.html b/frontend/src/app/features/collections/user-collections/userCollection-list-item/userCollections-list-item.component.html index bb0f6c4..146f456 100644 --- a/frontend/src/app/features/collections/user-collections/userCollection-list-item/userCollections-list-item.component.html +++ b/frontend/src/app/features/collections/user-collections/userCollection-list-item/userCollections-list-item.component.html @@ -1,11 +1,10 @@ -
- List poster -
-
{{list.name}}
-

Created: {{getCreatedDate() | dateFormat}}

-

Contains: {{list.userCollectionEntries.length}} title(s)

+
+
+ List poster +
+
{{list.name}}
+ + +
-
\ No newline at end of file diff --git a/frontend/src/app/features/collections/user-collections/userCollections-page/userCollections-page.component.css b/frontend/src/app/features/collections/user-collections/userCollections-page/userCollections-page.component.css index e69de29..de3f200 100644 --- a/frontend/src/app/features/collections/user-collections/userCollections-page/userCollections-page.component.css +++ b/frontend/src/app/features/collections/user-collections/userCollections-page/userCollections-page.component.css @@ -0,0 +1,6 @@ +.collections-container{ + display: grid; + grid-template-columns: repeat(auto-fill, + minmax(150px, 2fr)); + gap: 20px; +} \ No newline at end of file diff --git a/frontend/src/app/features/collections/user-collections/userCollections-page/userCollections-page.component.html b/frontend/src/app/features/collections/user-collections/userCollections-page/userCollections-page.component.html index b6bd068..cfcd084 100644 --- a/frontend/src/app/features/collections/user-collections/userCollections-page/userCollections-page.component.html +++ b/frontend/src/app/features/collections/user-collections/userCollections-page/userCollections-page.component.html @@ -30,14 +30,19 @@
-
+ +
+ +
+ + -
-
+
--> +