From 712f49fe20f6d12bfe10b69a2743f1dfecfcc86b Mon Sep 17 00:00:00 2001 From: radishzzz Date: Sun, 6 Apr 2025 02:53:50 +0100 Subject: [PATCH] chore: refine styling and update birth-of-retypeset article - Remove view transitions for pin icon and desktop article timestamp - Adjust scrollbar thickness - Optimize apiflashKey path reference - Reduce underline offset distance --- src/components/PostList.astro | 8 +--- src/components/Widgets/Scrollbar.astro | 4 +- .../posts/diaries/Birth of Retypeset-zh.md | 43 ++++++++++--------- src/layouts/Head.astro | 6 +-- src/styles/heti.css | 6 +-- 5 files changed, 32 insertions(+), 35 deletions(-) diff --git a/src/components/PostList.astro b/src/components/PostList.astro index bb5252c..6dc576a 100644 --- a/src/components/PostList.astro +++ b/src/components/PostList.astro @@ -45,6 +45,7 @@ function getPostPath(post: Post) { data-disable-transition-on-theme > {post.data.title} + {/* pinned icon */} {pinned && ( @@ -58,7 +59,6 @@ function getPostPath(post: Post) { )} - {/* mobile post time */} @@ -74,11 +74,7 @@ function getPostPath(post: Post) { {/* desktop post time */} -