@mirrormedia/lilith-draft-editor 3.0.9 → 3.0.10

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.
@@ -352,6 +352,10 @@ const DraftEditorControlsWrapper = _styledComponents.default.div`
352
352
  flex-wrap: wrap;
353
353
  padding-right: 45px;
354
354
  column-gap: 5px;
355
+
356
+ @media (max-width: 767px) {
357
+ padding-right: 10px;
358
+ }
355
359
  `;
356
360
  const TextEditorWrapper = _styledComponents.default.div`
357
361
  /* Rich-editor default setting (.RichEditor-editor)*/
@@ -438,7 +442,7 @@ const DraftEditorContainer = _styledComponents.default.div`
438
442
  }
439
443
  `;
440
444
  const ButtonGroup = _styledComponents.default.div`
441
- margin: 0 10px 0 0;
445
+ margin: 0;
442
446
  ${({
443
447
  isDisabled
444
448
  }) => isDisabled ? (0, _styledComponents.css)`
@@ -106,7 +106,7 @@ const ImageMetaGridsWrapper = _styledComponents.default.div`
106
106
  overflow: auto;
107
107
  `;
108
108
  const ImageMetaGridWrapper = _styledComponents.default.div`
109
- width: 33.3333%;
109
+ width: 100%;
110
110
  cursor: pointer;
111
111
  padding: 0 10px 10px;
112
112
  `;
@@ -121,6 +121,9 @@ const Label = _styledComponents.default.label`
121
121
  margin: 10px 0;
122
122
  font-weight: 600;
123
123
  `;
124
+ const StyledTextInput = (0, _styledComponents.default)(_fields.TextInput)`
125
+ width: 100%;
126
+ `;
124
127
  const SeparationLine = _styledComponents.default.div`
125
128
  border: #e1e5e9 1px solid;
126
129
  margin-top: 10px;
@@ -220,7 +223,7 @@ function ImageMetaGrid(props) {
220
223
  }
221
224
  }), /*#__PURE__*/_react.default.createElement(ImageName, null, image === null || image === void 0 ? void 0 : image.name), enableCaption && /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement(Label, {
222
225
  htmlFor: "caption"
223
- }, "Image Caption:"), /*#__PURE__*/_react.default.createElement(_fields.TextInput, {
226
+ }, "Image Caption:"), /*#__PURE__*/_react.default.createElement(StyledTextInput, {
224
227
  id: "caption",
225
228
  type: "text",
226
229
  placeholder: image === null || image === void 0 ? void 0 : image.name,
@@ -234,7 +237,7 @@ function ImageMetaGrid(props) {
234
237
  })
235
238
  })), enableUrl && /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement(Label, {
236
239
  htmlFor: "url"
237
- }, "Url:"), /*#__PURE__*/_react.default.createElement(_fields.TextInput, {
240
+ }, "Url:"), /*#__PURE__*/_react.default.createElement(StyledTextInput, {
238
241
  id: "url",
239
242
  type: "text",
240
243
  placeholder: "(Optional)",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirrormedia/lilith-draft-editor",
3
- "version": "3.0.9",
3
+ "version": "3.0.10",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {