diff --git a/client/src/components/editor/PreviewCodeBlock.tsx b/client/src/components/editor/PreviewCodeBlock.tsx index 5397aec..aba9d60 100644 --- a/client/src/components/editor/PreviewCodeBlock.tsx +++ b/client/src/components/editor/PreviewCodeBlock.tsx @@ -135,8 +135,11 @@ export const PreviewCodeBlock: React.FC = ({ )}
diff --git a/client/src/index.css b/client/src/index.css index 6ec2954..41673e5 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -42,20 +42,17 @@ code { /* Markdown styles */ .markdown pre { - @apply bg-slate-200 dark:bg-slate-600; - padding: 0.75rem; - border-radius: 0.5rem; - overflow-x: auto; + @apply bg-slate-200 dark:bg-slate-800; + padding: 0.2rem 0.4rem; + border-radius: 0.25rem; @apply text-light-text dark:text-dark-text; - @apply border border-light-border dark:border-dark-border; } .markdown code { - @apply bg-slate-200 dark:bg-slate-600; + @apply bg-slate-200 dark:bg-slate-800; padding: 0.2rem 0.4rem; border-radius: 0.25rem; @apply text-light-text dark:text-dark-text; - @apply border border-light-border dark:border-dark-border; } .markdown pre code {