diff --git a/src/blog/components/Article/ArticleEditor.tsx b/src/blog/components/Article/ArticleEditor.tsx index b562751..6b6f101 100644 --- a/src/blog/components/Article/ArticleEditor.tsx +++ b/src/blog/components/Article/ArticleEditor.tsx @@ -60,6 +60,15 @@ export default function ArticleView({ sx={{ mb: 3 }} /> + {/* DESCRIPTION */} + setDescription(e.target.value)} + sx={{ mb: 3 }} + /> + {/* COVER IMAGE URL */} @@ -74,20 +83,34 @@ export default function ArticleView({ {/* COVER IMAGE PREVIEW */} {img && } + + {/* MARKDOWN EDITOR */} - + Content - setContent(e.target.value)} - sx={{ - '& textarea': { - fontFamily: 'monospace', - lineHeight: 1.6, - }, + style={{ + width: '100%', + minHeight: '300px', + padding: '16px', + borderRadius: '8px', + border: '1px solid rgba(255,255,255,0.2)', + background: 'transparent', + color: 'inherit', + fontFamily: 'monospace', + fontSize: '16px', + lineHeight: 1.6, + resize: 'vertical', + boxSizing: 'border-box', }} />