Skip to content

Commit

Permalink
Fix some styling
Browse files Browse the repository at this point in the history
  • Loading branch information
typeofweb committed Dec 19, 2022
1 parent e48d619 commit 6dfe163
Show file tree
Hide file tree
Showing 5 changed files with 434 additions and 377 deletions.
2 changes: 1 addition & 1 deletion apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"devDependencies": {
"@types/ms": "0.7.31",
"@types/node": "18.11.16",
"@types/node": "18.11.17",
"eslint-config-devfaq": "workspace:*",
"pino-pretty": "9.1.1",
"tsconfig": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@storybook/testing-library": "^0.0.13",
"@svgr/webpack": "6.5.1",
"@tailwindcss/typography": "0.5.8",
"@types/node": "18.11.16",
"@types/node": "18.11.17",
"@types/prismjs": "1.26.0",
"@types/react": "18.0.26",
"@types/react-dom": "18.0.9",
Expand All @@ -60,7 +60,7 @@
"tailwindcss": "^3.2.4",
"tsconfig": "workspace:*",
"typescript": "4.9.4",
"vitest": "0.25.8"
"vitest": "0.26.0"
},
"nextBundleAnalysis": {
"budget": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const QuestionItem = ({
<article className="flex bg-white p-5 text-sm text-neutral-500 shadow-md dark:bg-white-dark dark:text-neutral-200">
<QuestionVoting questionId={id} votes={votes} voted={voted} onQuestionVote={onQuestionVote} />
<QuestionContent source={mdxContent} />
<div className="ml-4 flex min-w-max flex-col items-end">
<div className="ml-4 mt-2 flex min-w-max flex-col items-end">
<QuestionLevel level={level} />
<Link href={`/questions/p/${id}`} className="mt-3 text-xs underline">
<time dateTime={creationDate.toISOString()}>{format(creationDate)}</time>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const QuestionVoting = ({
return (
<button
className={twMerge(
"mr-4 flex h-fit items-center gap-x-1.5 text-neutral-200 transition-colors",
"mr-4 mt-1 flex h-fit items-center gap-x-1.5 text-neutral-200 transition-colors",
voted && "text-violet-700 dark:text-violet-300",
)}
type="button"
Expand Down
Loading

0 comments on commit 6dfe163

Please # to comment.