From 86e2d824171eb14a6a3a53e7a27512e0a023ed7f Mon Sep 17 00:00:00 2001 From: calebyhan Date: Sat, 6 Jun 2026 11:06:58 -0400 Subject: [PATCH] install @tailwindcss/typography to fix prose rendering in rich text views --- frontend/package-lock.json | 26 ++++++++++++++++++++++++++ frontend/package.json | 1 + frontend/tailwind.config.ts | 2 +- 3 files changed, 28 insertions(+), 1 deletion(-) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 437d392..652b47c 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -14,6 +14,7 @@ "@radix-ui/react-navigation-menu": "^1.2.14", "@radix-ui/react-select": "^2.2.6", "@radix-ui/react-slot": "^1.2.4", + "@tailwindcss/typography": "^0.5.19", "@tanstack/react-table": "^8.21.3", "@tiptap/react": "^3.22.2", "@tiptap/starter-kit": "^3.22.2", @@ -2754,6 +2755,31 @@ "tslib": "^2.8.0" } }, + "node_modules/@tailwindcss/typography": { + "version": "0.5.19", + "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.19.tgz", + "integrity": "sha512-w31dd8HOx3k9vPtcQh5QHP9GwKcgbMp87j58qi6xgiBnFFtKEAgCWnDw4qUT8aHwkCp8bKvb/KGKWWHedP0AAg==", + "license": "MIT", + "dependencies": { + "postcss-selector-parser": "6.0.10" + }, + "peerDependencies": { + "tailwindcss": ">=3.0.0 || insiders || >=4.0.0-alpha.20 || >=4.0.0-beta.1" + } + }, + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser": { + "version": "6.0.10", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz", + "integrity": "sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==", + "license": "MIT", + "dependencies": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/@tanstack/react-table": { "version": "8.21.3", "resolved": "https://registry.npmjs.org/@tanstack/react-table/-/react-table-8.21.3.tgz", diff --git a/frontend/package.json b/frontend/package.json index 0e74451..14731b3 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -17,6 +17,7 @@ "@radix-ui/react-navigation-menu": "^1.2.14", "@radix-ui/react-select": "^2.2.6", "@radix-ui/react-slot": "^1.2.4", + "@tailwindcss/typography": "^0.5.19", "@tanstack/react-table": "^8.21.3", "@tiptap/react": "^3.22.2", "@tiptap/starter-kit": "^3.22.2", diff --git a/frontend/tailwind.config.ts b/frontend/tailwind.config.ts index 66ed0ba..c2ff01d 100644 --- a/frontend/tailwind.config.ts +++ b/frontend/tailwind.config.ts @@ -63,5 +63,5 @@ export default { } } }, - plugins: [require("tailwindcss-animate")], + plugins: [require("tailwindcss-animate"), require("@tailwindcss/typography")], } satisfies Config;