@mjhls/mjh-framework 1.0.90 → 1.0.91
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.
- package/README.md +1 -1
- package/dist/index.es.js +8 -8
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8431,13 +8431,13 @@ var FigureComponent = function FigureComponent(_ref) {
|
|
|
8431
8431
|
var imgFloat = alignment.toLowerCase() === 'center' ? 'none' : alignment.toLowerCase();
|
|
8432
8432
|
var figureMargin = void 0;
|
|
8433
8433
|
if (imgFloat === 'none') {
|
|
8434
|
-
figureMargin = '0 auto
|
|
8434
|
+
figureMargin = '0 auto 1rem';
|
|
8435
8435
|
}
|
|
8436
8436
|
if (imgFloat === 'left') {
|
|
8437
|
-
figureMargin = '0
|
|
8437
|
+
figureMargin = '0 1rem 1rem 10%';
|
|
8438
8438
|
}
|
|
8439
8439
|
if (imgFloat === 'right') {
|
|
8440
|
-
figureMargin = '0
|
|
8440
|
+
figureMargin = '0 10% 1rem 1rem';
|
|
8441
8441
|
}
|
|
8442
8442
|
return React__default.createElement(
|
|
8443
8443
|
reactBootstrap.Figure,
|
|
@@ -12047,13 +12047,13 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
12047
12047
|
content = _ref.content;
|
|
12048
12048
|
|
|
12049
12049
|
return React__default.createElement(
|
|
12050
|
-
|
|
12051
|
-
{ className: 'sidebar' },
|
|
12050
|
+
'article',
|
|
12051
|
+
{ className: 'sidebar', style: { background: '#eee', marginRight: '10%', marginLeft: '1rem', width: '40%', padding: '1rem 0 0' } },
|
|
12052
12052
|
React__default.createElement(
|
|
12053
|
-
|
|
12053
|
+
'div',
|
|
12054
12054
|
null,
|
|
12055
12055
|
React__default.createElement(
|
|
12056
|
-
|
|
12056
|
+
'h3',
|
|
12057
12057
|
null,
|
|
12058
12058
|
caption
|
|
12059
12059
|
),
|