diff --git a/frontend/src/components/profile/ProfileCard.jsx b/frontend/src/components/profile/ProfileCard.jsx index 333bb85..34edf9e 100644 --- a/frontend/src/components/profile/ProfileCard.jsx +++ b/frontend/src/components/profile/ProfileCard.jsx @@ -105,7 +105,7 @@ const ProfileCard = ({ {content.tags.map(tag => ( + className='bg-blue-600/20 text-blue-400 px-2 py-1 rounded-md text-xs font-semibold shadow-sm'> {unsanitize(tag)} ))} @@ -171,12 +171,16 @@ const ProfileCard = ({ )} -
+
{/* Description - Fixed Height with Scroll */} -
+
{content.description && ( -
+
{unsanitize(content.description)} diff --git a/frontend/src/components/ui/MarkdownEditor.jsx b/frontend/src/components/ui/MarkdownEditor.jsx index 3dc9f80..b7900c5 100644 --- a/frontend/src/components/ui/MarkdownEditor.jsx +++ b/frontend/src/components/ui/MarkdownEditor.jsx @@ -139,7 +139,13 @@ const MarkdownEditor = ({value, onChange, placeholder}) => { {/* Editor/Preview Area */}
{isPreview ? ( -
+
{value ? ( {value} ) : (