fix: preserve reading font settings in markdown images

- Remove inline styles from custom image component
- Let CSS inheritance handle font and styling properly
- Images now respect user's reading font and size settings
This commit is contained in:
Gigi
2025-10-13 16:35:11 +02:00
parent d9fd4ec286
commit 03e7484e71

View File

@@ -226,12 +226,6 @@ const ContentPanel: React.FC<ContentPanelProps> = ({
src={src}
alt={alt}
{...props}
style={{
maxWidth: '100%',
height: 'auto',
display: 'block',
margin: '1rem auto'
}}
/>
)
}}