mirror of
https://github.com/dergigi/boris.git
synced 2025-12-20 08:04:30 +01:00
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:
@@ -226,12 +226,6 @@ const ContentPanel: React.FC<ContentPanelProps> = ({
|
|||||||
src={src}
|
src={src}
|
||||||
alt={alt}
|
alt={alt}
|
||||||
{...props}
|
{...props}
|
||||||
style={{
|
|
||||||
maxWidth: '100%',
|
|
||||||
height: 'auto',
|
|
||||||
display: 'block',
|
|
||||||
margin: '1rem auto'
|
|
||||||
}}
|
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user