Skip to content

Commit 927d5dc

Browse files
committed
chore: remove-description
1 parent 91008ce commit 927d5dc

File tree

4 files changed

+2
-890
lines changed

4 files changed

+2
-890
lines changed

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,13 @@
1717
"@radix-ui/react-separator": "^1.1.0",
1818
"@radix-ui/react-toast": "^1.2.15",
1919
"@radix-ui/react-tooltip": "^1.2.8",
20-
"@tailwindcss/typography": "^0.5.16",
2120
"class-variance-authority": "^0.7.1",
2221
"clsx": "^2.1.1",
2322
"lucide-react": "^0.475.0",
2423
"next": "15.3.3",
2524
"next-intl": "^3.26.3",
2625
"react": "19.1.0",
2726
"react-dom": "19.1.0",
28-
"react-markdown": "^10.1.0",
2927
"rtl-detect": "^1.1.2",
3028
"sonner": "^2.0.7",
3129
"tailwind-merge": "^2.5.5",

src/app/[locale]/case/[disputeId]/components/Question.tsx

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import { Periods, processCurrentPeriod } from "@/app/utils";
1111
import { Badge } from "@/components/ui/badge";
1212
import { Card, CardContent, CardHeader } from "@/components/ui/card";
1313
import { CheckCircle, CircleDotDashed, Gavel } from "lucide-react";
14-
import ReactMarkdown from "react-markdown";
1514

1615
interface IQuestion {
1716
disputeId: `${number}`;
@@ -56,23 +55,12 @@ const Question: React.FC<IQuestion> = async ({ disputeId }) => {
5655
? disputeDetails.title
5756
: disputeDetails.question}
5857
</h3>
59-
{disputeDetails.description &&
60-
disputeDetails.description.trim() !== "" ? (
61-
<div
62-
className={clsx(
63-
"prose prose-slate max-w-none",
64-
langDir === "rtl" ? "text-right" : "text-left",
65-
)}
66-
>
67-
<ReactMarkdown>{disputeDetails.description}</ReactMarkdown>
68-
</div>
69-
) : null}
7058
</CardHeader>
7159

7260
<CardContent>
7361
<div
7462
className={clsx(
75-
"grid auto-cols-fr grid-flow-col divide-x-2 divide-transparent gap-6 items-stretch place-content-center",
63+
"grid md:auto-cols-fr md:grid-flow-col grid-cols-1 divide-x-2 divide-transparent gap-6 items-stretch place-content-center",
7664
langDir === "rtl" && "divide-x-reverse",
7765
)}
7866
>

tailwind.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,6 @@ const config: Config = {
130130
},
131131
},
132132
},
133-
plugins: [require("tailwindcss-animate"), require("@tailwindcss/typography")],
133+
plugins: [require("tailwindcss-animate")],
134134
};
135135
export default config;

0 commit comments

Comments
 (0)