@experium/findy-form 1.3.13 → 1.3.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.
@@ -472,7 +472,7 @@ var File = /*#__PURE__*/function (_Component) {
472
472
  open: this.state.visibleModal,
473
473
  onClose: this.closeModal,
474
474
  classNames: {
475
- modal: 'modal',
475
+ modal: 'modal file-modal',
476
476
  closeButton: 'modalCloseButton'
477
477
  }
478
478
  }, /*#__PURE__*/_react["default"].createElement(ModalContent, {
@@ -459,6 +459,15 @@ body .rc-checkbox:hover .rc-checkbox-inner, body .rc-checkbox-input:focus + .rc-
459
459
  }
460
460
 
461
461
  /* Modal */
462
+ .file-modal image, .file-modal video {
463
+ width: 100%;
464
+ }
465
+ @media screen and (max-width: 700px) {
466
+ .file-modal {
467
+ width: 100%;
468
+ }
469
+ }
470
+
462
471
  .pda-modal {
463
472
  min-width: 50%;
464
473
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experium/findy-form",
3
- "version": "1.3.13",
3
+ "version": "1.3.14",
4
4
  "main": "./lib/index.js",
5
5
  "homepage": "https://experium.github.io/findy-form",
6
6
  "repository": "https://github.com/experium/findy-form",
@@ -335,7 +335,7 @@ class File extends Component {
335
335
  open={this.state.visibleModal}
336
336
  onClose={this.closeModal}
337
337
  classNames={{
338
- modal: 'modal',
338
+ modal: 'modal file-modal',
339
339
  closeButton: 'modalCloseButton',
340
340
  }}
341
341
  >
@@ -128,6 +128,15 @@ body .rc-checkbox:hover .rc-checkbox-inner, body .rc-checkbox-input:focus + .rc-
128
128
  }
129
129
 
130
130
  /* Modal */
131
+ .file-modal image, .file-modal video {
132
+ width: 100%;
133
+ }
134
+ @media screen and (max-width: 700px) {
135
+ .file-modal {
136
+ width: 100%;
137
+ }
138
+ }
139
+
131
140
  .pda-modal {
132
141
  min-width: 50%;
133
142
  }