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.js
CHANGED
@@ -1183,6 +1183,7 @@ var Card = /*#__PURE__*/function (_React$Component) {
|
|
1183
1183
|
className: classNames$1(style$c.card_disabled)
|
1184
1184
|
}) : null, this.props.imgLeft ? /*#__PURE__*/React__default.createElement("div", {
|
1185
1185
|
style: {
|
1186
|
+
position: 'relative',
|
1186
1187
|
overflow: 'hidden',
|
1187
1188
|
width: this.props.customWidthImgLeft || '100%',
|
1188
1189
|
flexGrow: 0,
|
@@ -1190,6 +1191,8 @@ var Card = /*#__PURE__*/function (_React$Component) {
|
|
1190
1191
|
}
|
1191
1192
|
}, /*#__PURE__*/React__default.createElement("img", {
|
1192
1193
|
style: {
|
1194
|
+
position: 'absolute',
|
1195
|
+
right: 0,
|
1193
1196
|
height: '100%'
|
1194
1197
|
},
|
1195
1198
|
src: this.props.imgLeft,
|
@@ -1230,15 +1233,22 @@ var Card = /*#__PURE__*/function (_React$Component) {
|
|
1230
1233
|
className: classNames$1(style$c.card_body, this.props.classNameChildren)
|
1231
1234
|
}, this.props.children)), this.props.imgRight ? /*#__PURE__*/React__default.createElement("div", {
|
1232
1235
|
style: {
|
1236
|
+
position: 'relative',
|
1233
1237
|
overflow: 'hidden',
|
1234
1238
|
width: this.props.customWidthImgRight || '100%',
|
1235
1239
|
flexGrow: 0,
|
1236
1240
|
flexShrink: 0
|
1237
1241
|
}
|
1238
1242
|
}, /*#__PURE__*/React__default.createElement("img", {
|
1239
|
-
style: {
|
1243
|
+
style: _extends({
|
1244
|
+
position: 'absolute'
|
1245
|
+
}, this.props.forceRight ? {
|
1246
|
+
right: 0
|
1247
|
+
} : {
|
1248
|
+
left: 0
|
1249
|
+
}, {
|
1240
1250
|
height: '100%'
|
1241
|
-
},
|
1251
|
+
}),
|
1242
1252
|
src: this.props.imgRight,
|
1243
1253
|
alt: "right"
|
1244
1254
|
})) : null);
|