mirror of
https://github.com/dergigi/boris.git
synced 2025-12-19 15:44:20 +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}
|
||||
alt={alt}
|
||||
{...props}
|
||||
style={{
|
||||
maxWidth: '100%',
|
||||
height: 'auto',
|
||||
display: 'block',
|
||||
margin: '1rem auto'
|
||||
}}
|
||||
/>
|
||||
)
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user