@manuscripts/body-editor 2.7.43 → 2.7.44

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.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MATHJAX_VERSION = exports.VERSION = void 0;
4
- exports.VERSION = '2.7.43';
4
+ exports.VERSION = '2.7.44';
5
5
  exports.MATHJAX_VERSION = '3.2.2';
@@ -1,2 +1,2 @@
1
- export const VERSION = '2.7.43';
1
+ export const VERSION = '2.7.44';
2
2
  export const MATHJAX_VERSION = '3.2.2';
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "2.7.43";
1
+ export declare const VERSION = "2.7.44";
2
2
  export declare const MATHJAX_VERSION = "3.2.2";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@manuscripts/body-editor",
3
3
  "description": "Prosemirror components for editing and viewing manuscripts",
4
- "version": "2.7.43",
4
+ "version": "2.7.44",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-body-editor",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",
@@ -155,12 +155,13 @@
155
155
  .ProseMirror .figure-block .position-menu {
156
156
  position: absolute;
157
157
  top: 4px;
158
- left: calc( 100% + 4px );
158
+ left: calc( 100% - 96px );
159
159
  z-index: 2;
160
160
  cursor: pointer;
161
+ padding-left: 100px;
161
162
  }
162
163
  .ProseMirror .box-element .figure-block .position-menu {
163
- left: calc( 100% + 20px );
164
+ left: calc( 100% - 82px );
164
165
  }
165
166
 
166
167
  .ProseMirror .block-container.block-box_element {
package/styles/Editor.css CHANGED
@@ -232,10 +232,8 @@
232
232
  }
233
233
 
234
234
  .ProseMirror .figure-block > .listing {
235
- /*grid-row: listing;*/
236
235
  grid-column-start: 1;
237
236
  grid-column-end: -1;
238
- /*margin-top: 0;*/
239
237
  padding: 0;
240
238
  min-height: 0;
241
239
  overflow: visible;
@@ -243,7 +241,6 @@
243
241
  }
244
242
 
245
243
  .ProseMirror .figure-block > figcaption {
246
- /*grid-row: caption;*/
247
244
  grid-column-start: 1;
248
245
  grid-column-end: -1;
249
246
  margin-top: 0;
@@ -712,8 +709,8 @@
712
709
  .action-gutter {
713
710
  pointer-events: visible;
714
711
  opacity: 1;
715
- /* z-index: 2; */
716
712
  }
713
+
717
714
  .ProseMirror .block-box_element:hover > .block-gutter {
718
715
  opacity: 1;
719
716
  z-index: 2;
@@ -802,7 +799,6 @@
802
799
  .ProseMirror pre {
803
800
  cursor: pointer;
804
801
  display: block;
805
- /*min-height: 34px;*/
806
802
  padding: 5px;
807
803
  width: auto;
808
804
  min-width: 200px;
@@ -890,7 +886,6 @@
890
886
  display: inline-flex;
891
887
  align-items: center;
892
888
  justify-content: center;
893
- /*z-index: 2;*/
894
889
  cursor: pointer;
895
890
  background-size: contain;
896
891
  background-position: center center;