editorjs-image 1.0.8 → 1.0.9

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.css +10 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "editorjs-image",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Image tool plugin for Editor.js",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/index.css CHANGED
@@ -1,20 +1,15 @@
1
1
  .cdx-image-tool-tune--floatLeft.ce-block__content,
2
- .cdx-image-tool-tune--floatRight.ce-block__content {
3
- min-height: 20px;
4
- }
2
+ .cdx-image-tool-tune--floatRight.ce-block__content { min-height: 20px; }
5
3
 
6
4
  .cdx-image-tool-tune--floatLeft.ce-block__content .image-tool__image,
7
- .cdx-image-tool-tune--floatRight.ce-block__content .image-tool__image {
8
- margin-top: 40px;
9
- margin-left: 20px;
10
- }
5
+ .cdx-image-tool-tune--floatRight.ce-block__content .image-tool__image { margin-top: 40px; }
6
+ .cdx-image-tool-tune--floatLeft.ce-block__content .image-tool__image { margin-left: 20px; }
7
+ .cdx-image-tool-tune--floatRight.ce-block__content .image-tool__image { margin-right: 20px; }
11
8
 
12
9
  .cdx-image-tool-tune--floatLeft.ce-block__content .cdx-input,
13
- .cdx-image-tool-tune--floatRight.ce-block__content .cdx-input
14
- {
15
- margin-left: 20px;
16
- width: calc(100% - 20px);
17
- }
10
+ .cdx-image-tool-tune--floatRight.ce-block__content .cdx-input { width: calc(100% - 20px); }
11
+ .cdx-image-tool-tune--floatLeft.ce-block__content .cdx-input { margin-left: 20px; }
12
+ .cdx-image-tool-tune--floatRight.ce-block__content .cdx-input { margin-right: 20px; }
18
13
 
19
14
  .cdx-image-tool-tune--floatLeft .cdx-block,
20
15
  .cdx-image-tool-tune--center .cdx-block,
@@ -31,9 +26,7 @@
31
26
  align-items: center;
32
27
  }
33
28
 
34
- .cdx-image-tool-tune--center .cdx-block {
35
- margin: auto;
36
- }
29
+ .cdx-image-tool-tune--center .cdx-block { margin: auto; }
37
30
 
38
31
  .cdx-image-tool-tune--floatLeft .cdx-block {
39
32
  float: left;
@@ -45,6 +38,8 @@
45
38
  margin-left: 10px;
46
39
  }
47
40
 
41
+
42
+
48
43
  .cdx-image-tool-tune--sizeSmall img {
49
44
  max-height: 200px !important;
50
45
  object-fit:cover;
@@ -123,9 +118,6 @@
123
118
  cursor: nwse-resize;
124
119
  }
125
120
 
126
-
127
-
128
-
129
121
  .cdx-image-tool-tune--crop:hover,
130
122
  .cdx-image-tool-tune--crop.isCropping,
131
123
  .cdx-image-tool-tune--resize:hover {