From d2ca80819735a2ddea47a2459fff076df42f004d Mon Sep 17 00:00:00 2001 From: radishzzz Date: Wed, 2 Apr 2025 22:39:21 +0100 Subject: [PATCH] chore: add view transition for pinned icon --- src/components/PostList.astro | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/src/components/PostList.astro b/src/components/PostList.astro index d3477e0..f54633d 100644 --- a/src/components/PostList.astro +++ b/src/components/PostList.astro @@ -45,20 +45,19 @@ function getPostPath(post: Post) { data-disable-transition-on-theme > {post.data.title} + {/* pinned icon */} + {pinned && ( + + )} - - {/* pinned icon */} - {pinned && ( - - )} {/* mobile post time */}