File tree Expand file tree Collapse file tree 5 files changed +434
-377
lines changed
src/components/QuestionsList/QuestionItem Expand file tree Collapse file tree 5 files changed +434
-377
lines changed Original file line number Diff line number Diff line change 15
15
},
16
16
"devDependencies" : {
17
17
"@types/ms" : " 0.7.31" ,
18
- "@types/node" : " 18.11.16 " ,
18
+ "@types/node" : " 18.11.17 " ,
19
19
"eslint-config-devfaq" : " workspace:*" ,
20
20
"pino-pretty" : " 9.1.1" ,
21
21
"tsconfig" : " workspace:*" ,
Original file line number Diff line number Diff line change 39
39
"@storybook/testing-library" : " ^0.0.13" ,
40
40
"@svgr/webpack" : " 6.5.1" ,
41
41
"@tailwindcss/typography" : " 0.5.8" ,
42
- "@types/node" : " 18.11.16 " ,
42
+ "@types/node" : " 18.11.17 " ,
43
43
"@types/prismjs" : " 1.26.0" ,
44
44
"@types/react" : " 18.0.26" ,
45
45
"@types/react-dom" : " 18.0.9" ,
60
60
"tailwindcss" : " ^3.2.4" ,
61
61
"tsconfig" : " workspace:*" ,
62
62
"typescript" : " 4.9.4" ,
63
- "vitest" : " 0.25.8 "
63
+ "vitest" : " 0.26.0 "
64
64
},
65
65
"nextBundleAnalysis" : {
66
66
"budget" : null ,
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export const QuestionItem = ({
29
29
< article className = "flex bg-white p-5 text-sm text-neutral-500 shadow-md dark:bg-white-dark dark:text-neutral-200" >
30
30
< QuestionVoting questionId = { id } votes = { votes } voted = { voted } onQuestionVote = { onQuestionVote } />
31
31
< QuestionContent source = { mdxContent } />
32
- < div className = "ml-4 flex min-w-max flex-col items-end" >
32
+ < div className = "ml-4 mt-2 flex min-w-max flex-col items-end" >
33
33
< QuestionLevel level = { level } />
34
34
< Link href = { `/questions/p/${ id } ` } className = "mt-3 text-xs underline" >
35
35
< time dateTime = { creationDate . toISOString ( ) } > { format ( creationDate ) } </ time >
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export const QuestionVoting = ({
39
39
return (
40
40
< button
41
41
className = { twMerge (
42
- "mr-4 flex h-fit items-center gap-x-1.5 text-neutral-200 transition-colors" ,
42
+ "mr-4 mt-1 flex h-fit items-center gap-x-1.5 text-neutral-200 transition-colors" ,
43
43
voted && "text-violet-700 dark:text-violet-300" ,
44
44
) }
45
45
type = "button"
You can’t perform that action at this time.
0 commit comments