@bindu-dashing/dam-solution 2.9.12 → 2.9.14

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.
@@ -362,7 +362,9 @@ function ImagePickerFilters(_ref) {
362
362
  display: "inline-block",
363
363
  marginTop: "10px",
364
364
  borderRadius: "10px",
365
- padding: "10px"
365
+ padding: "10px",
366
+ overflow: "hidden",
367
+ maxWidth: "100%"
366
368
  }
367
369
  }, /*#__PURE__*/_react.default.createElement("img", {
368
370
  src: state === null || state === void 0 ? void 0 : state.selectedFileUrl,
@@ -370,7 +372,9 @@ function ImagePickerFilters(_ref) {
370
372
  key: state === null || state === void 0 ? void 0 : state.selectedFileUrl,
371
373
  style: {
372
374
  borderRadius: "10px",
373
- display: "block"
375
+ display: "block",
376
+ maxWidth: "100%",
377
+ objectFit: "contain"
374
378
  },
375
379
  alt: "Selected file preview"
376
380
  })))))));
@@ -5,6 +5,7 @@
5
5
  }
6
6
  .image-picker-filters-container {
7
7
  width: 100%;
8
+ max-width: 100%;
8
9
  margin-top: 5px;
9
10
  padding: 10px;
10
11
  display: flex;
@@ -12,4 +13,5 @@
12
13
  border: 1px solid silver;
13
14
  border-radius: 6px;
14
15
  background-color: white;
16
+ overflow: hidden;
15
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bindu-dashing/dam-solution",
3
- "version": "2.9.12",
3
+ "version": "2.9.14",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^5.0.1",
6
6
  "@testing-library/jest-dom": "^5.16.5",