mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
refactor: update tailwind typography css overrides (#538)
* refactor: update tailwind typography css overrides Update TailwindCSS typography overrides to use less `important`; and update selectors to make them easier to read. * refactor: update focus styles to be consistent
This commit is contained in:
@@ -20,7 +20,7 @@ const { tag, tagName, size = "sm" } = Astro.props;
|
||||
href={`/tags/${tag}/`}
|
||||
transition:name={tag}
|
||||
class:list={[
|
||||
"relative pe-2 text-lg underline decoration-dashed group-hover:-top-0.5 group-hover:text-accent focus-visible:p-1",
|
||||
"relative pe-2 text-lg underline decoration-dashed group-hover:-top-0.5 group-hover:text-accent focus-visible:p-1 focus-visible:no-underline",
|
||||
{ "text-sm": size === "sm" },
|
||||
]}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user