@ndlib/component-library 0.0.110 → 0.0.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -99,8 +99,8 @@ export const Markdown = (_a) => {
|
|
|
99
99
|
? customPropString.split(',')
|
|
100
100
|
: [];
|
|
101
101
|
const isInline = customProps.includes('inline');
|
|
102
|
-
const
|
|
103
|
-
const styles = Object.assign(Object.assign({},
|
|
102
|
+
const inlineStyles = isInline ? defaultFloatImageStyles : {};
|
|
103
|
+
const styles = Object.assign(Object.assign({}, imageStyles), inlineStyles);
|
|
104
104
|
return _jsx("img", Object.assign({}, props, { style: styles, alt: alt }));
|
|
105
105
|
},
|
|
106
106
|
blockquote: (props) => (_jsx(BlockQuote, Object.assign({}, props, { sx: Object.assign(Object.assign(Object.assign({}, dynamicTopMarginStyles), { my: 5 }), customStyles.blockquote) }))),
|