From 364116939dc6c2a531817fe215eaa8a838ccc712 Mon Sep 17 00:00:00 2001 From: meetqy Date: Thu, 4 Apr 2024 22:11:49 +0800 Subject: [PATCH] ok --- src/app/[lang]/poem/[id]/components/body.tsx | 4 ++-- src/components/typography-article/index.css | 18 +----------------- 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/src/app/[lang]/poem/[id]/components/body.tsx b/src/app/[lang]/poem/[id]/components/body.tsx index 1b2ee1d0..66cd5f93 100644 --- a/src/app/[lang]/poem/[id]/components/body.tsx +++ b/src/app/[lang]/poem/[id]/components/body.tsx @@ -47,8 +47,8 @@ export const Body = (props: { {poem.introduce && (

{poem.introduce} diff --git a/src/components/typography-article/index.css b/src/components/typography-article/index.css index a0847b2d..17523dd7 100644 --- a/src/components/typography-article/index.css +++ b/src/components/typography-article/index.css @@ -12,23 +12,7 @@ } b { - @apply relative cursor-pointer font-normal text-primary transition-colors; - - &::after { - content: ""; - text-indent: 0; - - @apply absolute bottom-0 left-1/2 h-[1px] w-11/12 bg-primary; - transform: translateX(-50%); - } - - &::before { - content: ""; - text-indent: 0; - - @apply absolute bottom-0.5 left-1/2 h-[1px] w-11/12 bg-primary; - transform: translateX(-50%); - } + @apply relative cursor-pointer border-b border-primary/50 font-normal text-primary transition-colors dark:text-destructive; } rt {