@manuscripts/body-editor 1.9.11 → 1.9.12-LEAN-3620.0

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.
@@ -54,7 +54,7 @@ class CrossReferenceEditableView extends cross_reference_1.CrossReferenceView {
54
54
  currentCustomLabel: this.node.attrs.customLabel,
55
55
  };
56
56
  this.popperContainer = (0, ReactSubView_1.default)(this.props, CrossReferenceItems_1.CrossReferenceItems, componentProps, this.node, this.getPos, this.view, 'cross-reference-editor');
57
- this.props.popper.show(this.dom, this.popperContainer, 'right');
57
+ this.props.popper.show(this.dom, this.popperContainer, 'auto');
58
58
  };
59
59
  this.destroy = () => {
60
60
  var _a;
@@ -48,7 +48,7 @@ export class CrossReferenceEditableView extends CrossReferenceView {
48
48
  currentCustomLabel: this.node.attrs.customLabel,
49
49
  };
50
50
  this.popperContainer = ReactSubView(this.props, CrossReferenceItems, componentProps, this.node, this.getPos, this.view, 'cross-reference-editor');
51
- this.props.popper.show(this.dom, this.popperContainer, 'right');
51
+ this.props.popper.show(this.dom, this.popperContainer, 'auto');
52
52
  };
53
53
  this.destroy = () => {
54
54
  var _a;
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": "1.9.11",
4
+ "version": "1.9.12-LEAN-3620.0",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-body-editor",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",
@@ -111,4 +111,4 @@
111
111
  "@types/react": "^17.0.2",
112
112
  "prosemirror-tables": "^1.3.5"
113
113
  }
114
- }
114
+ }
package/styles/popper.css CHANGED
@@ -200,10 +200,15 @@
200
200
  position: relative;
201
201
  width: 600px;
202
202
  }
203
+
203
204
  .popper .table-footnote-editor {
204
205
  width: 600px;
205
206
  }
206
207
 
208
+ .popper .cross-reference-editor {
209
+ position: relative;
210
+ }
211
+
207
212
  .popper .cross-reference-editor,
208
213
  .popper .equation-editor,
209
214
  .popper .link-editor {