diff --git a/web/src/components/post/postInfo.astro b/web/src/components/post/postInfo.astro index 3566d75..4ebbbc4 100644 --- a/web/src/components/post/postInfo.astro +++ b/web/src/components/post/postInfo.astro @@ -3,15 +3,23 @@ import { getFormattedDate } from '@utils/date' const { publishDate, wordCount, readTime, tags } = Astro.props --- - | -{readTime} min. read | -{ - tags.map((tag, i) => ( - <> - - #{tag} - - {i < tags.length - 1 && ", "} - - )) -} \ No newline at end of file +
+ + + + + {readTime} min. read + + + + { + tags.map((tag, i) => ( + <> + + #{tag} + + {i < tags.length - 1 && ", "} + + )) + } +
diff --git a/web/src/components/postList/postCard.astro b/web/src/components/postList/postCard.astro index 20c2418..7f02979 100644 --- a/web/src/components/postList/postCard.astro +++ b/web/src/components/postList/postCard.astro @@ -22,14 +22,13 @@ const readTime = calcReadTime(wordCount);

{p.description}

} -
- -
+ + diff --git a/web/src/styles/global.css b/web/src/styles/global.css index 1045905..948b42d 100644 --- a/web/src/styles/global.css +++ b/web/src/styles/global.css @@ -56,6 +56,10 @@ } } +.tag-separator { + @apply border-l border-gray-400; +} + .content-panel { @apply w-full md:w-[68%] py-8 md:py-14 px-6 md:pl-10 md:pr-0; }