Skip to content

Commit 3d16375

Browse files
committed
remove prose
1 parent 43fb349 commit 3d16375

5 files changed

Lines changed: 12 additions & 35 deletions

File tree

‎apps/codingcatdev/package.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"@sveltejs/adapter-vercel": "^2.4.1",
2727
"@sveltejs/kit": "^1.15.4",
2828
"@tailwindcss/forms": "^0.5.3",
29-
"@tailwindcss/typography": "^0.5.9",
3029
"@types/marked": "^4.0.8",
3130
"@types/prismjs": "^1.26.0",
3231
"@types/video.js": "^7.3.51",

‎apps/codingcatdev/src/routes/(content-single)/(non-course)/Content.svelte‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
{#if data?.content}
2323
<div class="flex justify-center">
24-
<section class="flex gap-8 justify-center p-1 xl:p-8">
25-
<div class="">
24+
<section class="flex flex-col xl:flex-row gap-8 justify-center p-1 xl:p-8">
25+
<div class="flex flex-col gap-2 md:gap-8 max-w-7xl">
2626
{#if data?.content?.youtube}
2727
<Video
2828
sources={[
@@ -33,12 +33,12 @@
3333
]}
3434
/>
3535
{/if}
36-
<section class="flex-grow w-full markdown">
36+
<section class="flex-grow w-full markdown flex flex-col gap-2 md:gap-8">
3737
{@html data.content.html}
3838
</section>
3939
</div>
4040

41-
<div class="hidden xl:flex flex-col gap-6">
41+
<div class="flex flex-col gap-6">
4242
<RecentPostsList contentType={ContentType.course} list={data.course} />
4343
<RecentPostsList contentType={ContentType.tutorial} list={data.tutorial} />
4444
<RecentPostsList contentType={ContentType.podcast} list={data.podcast} />

‎apps/codingcatdev/src/styles/markdown.css‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,11 @@
22
.markdown p {
33
@apply !text-lg md:!text-2xl;
44
}
5+
/* .markdown p img {
6+
@apply max-h-96;
7+
} */
8+
.markdown pre code {
9+
@apply whitespace-pre-wrap overflow-x-auto break-all;
10+
@apply text-sm sm:text-lg md:text-xl;
11+
}
512
}

‎apps/codingcatdev/tailwind.config.cjs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ module.exports = {
99
extend: {}
1010
},
1111
plugins: [
12-
require('@tailwindcss/typography'),
1312
require('@tailwindcss/forms'),
1413
...require('@codingcatdev/blackcatui/dist/tailwind/blackcatui.cjs')()
1514
]

‎pnpm-lock.yaml‎

Lines changed: 1 addition & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)