ui-kit-ck-consultant 0.5.299 → 0.5.301
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/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +12 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
@@ -1180,6 +1180,7 @@ var Card = /*#__PURE__*/function (_React$Component) {
|
|
1180
1180
|
className: classNames$1(style$c.card_disabled)
|
1181
1181
|
}) : null, this.props.imgLeft ? /*#__PURE__*/React.createElement("div", {
|
1182
1182
|
style: {
|
1183
|
+
position: 'relative',
|
1183
1184
|
overflow: 'hidden',
|
1184
1185
|
width: this.props.customWidthImgLeft || '100%',
|
1185
1186
|
flexGrow: 0,
|
@@ -1187,6 +1188,8 @@ var Card = /*#__PURE__*/function (_React$Component) {
|
|
1187
1188
|
}
|
1188
1189
|
}, /*#__PURE__*/React.createElement("img", {
|
1189
1190
|
style: {
|
1191
|
+
position: 'absolute',
|
1192
|
+
right: 0,
|
1190
1193
|
height: '100%'
|
1191
1194
|
},
|
1192
1195
|
src: this.props.imgLeft,
|
@@ -1227,15 +1230,22 @@ var Card = /*#__PURE__*/function (_React$Component) {
|
|
1227
1230
|
className: classNames$1(style$c.card_body, this.props.classNameChildren)
|
1228
1231
|
}, this.props.children)), this.props.imgRight ? /*#__PURE__*/React.createElement("div", {
|
1229
1232
|
style: {
|
1233
|
+
position: 'relative',
|
1230
1234
|
overflow: 'hidden',
|
1231
1235
|
width: this.props.customWidthImgRight || '100%',
|
1232
1236
|
flexGrow: 0,
|
1233
1237
|
flexShrink: 0
|
1234
1238
|
}
|
1235
1239
|
}, /*#__PURE__*/React.createElement("img", {
|
1236
|
-
style: {
|
1240
|
+
style: _extends({
|
1241
|
+
position: 'absolute'
|
1242
|
+
}, this.props.forceRight ? {
|
1243
|
+
right: 0
|
1244
|
+
} : {
|
1245
|
+
left: 0
|
1246
|
+
}, {
|
1237
1247
|
height: '100%'
|
1238
|
-
},
|
1248
|
+
}),
|
1239
1249
|
src: this.props.imgRight,
|
1240
1250
|
alt: "right"
|
1241
1251
|
})) : null);
|