mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
feat: add view transitions for card on search page (#118)
* feat: use predictable slug for card transition * feat: enable view transitions in search card * refactor: use Card.tsx instead of Card.astro * refactor: handle card styling in component * refactor: remove unused class name --------- Co-authored-by: Sat Naing <satnaingdev@gmail.com>
This commit is contained in:
committed by
Sat Naing
parent
a060cb5c87
commit
6c7d04fa12
@@ -128,16 +128,4 @@
|
||||
.focus-outline {
|
||||
@apply outline-2 outline-offset-1 outline-skin-fill focus-visible:no-underline focus-visible:outline-dashed;
|
||||
}
|
||||
|
||||
/* Card */
|
||||
.list-card {
|
||||
@apply my-6;
|
||||
}
|
||||
.list-card > a {
|
||||
@apply inline-block text-lg font-medium text-skin-accent decoration-dashed underline-offset-4 focus-visible:no-underline focus-visible:underline-offset-0;
|
||||
}
|
||||
.list-card h2,
|
||||
.list-card h3 {
|
||||
@apply text-lg font-medium decoration-dashed hover:underline;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user