File tree 1 file changed +5
-7
lines changed
src/components/modules/post
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -18,19 +18,17 @@ export const PostRelated: FC<{
18
18
return null
19
19
}
20
20
return (
21
- < div data-hide-print className = "mb-5 mt-8" >
22
- < h3 className = "text-lg font-medium" >
21
+ < div data-hide-print className = "prose mb-5 mt-8" >
22
+ < h3 className = "flex items-center gap-2 text-lg font-medium" >
23
+ < i className = "icon-[mingcute--question-line]" />
23
24
< span > { infoText } </ span >
24
25
</ h3 >
25
- < ul className = "list-inside list-disc text-base" >
26
+ < ul className = "ml-0 mt-4 list-inside list-disc pl-0 text-base leading-relaxed " >
26
27
{ related . map ( ( post ) => {
27
28
const href = `/posts/${ post . category . slug } /${ post . slug } `
28
29
return (
29
30
< li key = { href } >
30
- < PeekLink
31
- href = { href }
32
- className = "underline-current underline-dashed leading-10 underline"
33
- >
31
+ < PeekLink href = { href } className = "shiro-link--underline" >
34
32
{ post . title }
35
33
</ PeekLink >
36
34
</ li >
You can’t perform that action at this time.
0 commit comments