Feat: Update Home Page Styles

更新首页 UI
This commit is contained in:
2026-05-20 21:34:56 +08:00
parent 7d0ac45e8a
commit 81deef7374
4 changed files with 71 additions and 31 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ export default function Note({ loaderData }: Route.ComponentProps) {
{item.starred && (
<StarFill className="absolute -top-5 -right-5 w-28 h-28 text-yellow-300 text-opacity-20 rotate-[-23deg]" />
)}
<h2 className={clsn(cover && "mt-48 sm:mt-0 md:mr-40", "text-pink-400 text-2xl font-bold mb-4")} style={{ viewTransitionName: `note-title-${item.id}` }}>
<h2 className={clsn(cover && "mt-48 sm:mt-0 sm:mr-40", "text-pink-400 text-2xl font-bold mb-4")} style={{ viewTransitionName: `note-title-${item.id}` }}>
{item.title}
</h2>
<p className={clsn(cover && "sm:mr-40", "mb-8 relative")}>{item.except}</p>