submit password on enter

This commit is contained in:
tangly1024.com
2023-05-29 11:53:40 +08:00
parent 7ab2bc7533
commit 106ddfdd89
9 changed files with 96 additions and 43 deletions

View File

@@ -35,7 +35,7 @@ export default function HeaderArticle({ post, siteInfo }) {
<div className='mb-3 flex justify-center'>
{post.category && <>
<Link href={`/category/${post.category}`} passHref legacyBehavior>
<div className="cursor-pointer px-2 py-1 mb-2 border rounded-sm dark:border-white text-sm font-medium text-5xl shadow-text-md text-white">
<div className="cursor-pointer px-2 py-1 mb-2 border rounded-sm dark:border-white text-sm font-medium hover:underline duration-200 shadow-text-md text-white">
{post.category}
</div>
</Link>