From 6e27ed574faf23d944fe69d8878d4087af4b86ff Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 24 Jun 2022 01:34:23 +0430 Subject: [PATCH] FInnished adding collection. --- src/componets/List.js | 5 +++++ src/styles/List.css | 15 ++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/src/componets/List.js b/src/componets/List.js index 33b33f8..db2c85f 100644 --- a/src/componets/List.js +++ b/src/componets/List.js @@ -68,6 +68,11 @@ const List = ({ data, tags, collections, reFetch, SetLoader, lightMode }) => {
{e.title}
+
+ + {e.collection} + +
{e.tag.map((e, i) => { const tagPath = `/tags/${e}`; diff --git a/src/styles/List.css b/src/styles/List.css index 52f13dd..0c5be33 100644 --- a/src/styles/List.css +++ b/src/styles/List.css @@ -220,4 +220,17 @@ .title-delete-group { text-align: center; -} \ No newline at end of file +} + +.list-collection-label { + margin-top: 10px; +} + +.list-collection-label a::before { + font-family: "Font Awesome 5 Free"; + content: " "; +} + +.list-collection-label a { + color: inherit; +}