Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
meetqy committed Apr 4, 2024
1 parent 8ff0cf6 commit 3641169
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
4 changes: 2 additions & 2 deletions src/app/[lang]/poem/[id]/components/body.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ export const Body = (props: {
{poem.introduce && (
<p
className={cn(
"px-4 py-2 text-left text-base !not-italic text-muted-foreground transition-all md:px-0",
py && "mb-12",
"px-4 py-2 text-left !text-f50 !not-italic text-muted-foreground transition-all md:px-0",
py ? "mb-12" : "mb-4",
)}
>
{poem.introduce}
Expand Down
18 changes: 1 addition & 17 deletions src/components/typography-article/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3641169

Please sign in to comment.