@manuscripts/body-editor 1.9.9 → 1.9.10-LEAN-3508.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.
@@ -118,7 +118,7 @@ class CitationEditableView extends citation_1.CitationView {
118
118
  };
119
119
  this.editor = (0, ReactSubView_1.default)(this.props, CitationViewer_1.CitationViewer, componentProps, this.node, this.getPos, this.view, 'citation-editor');
120
120
  }
121
- this.props.popper.show(this.dom, this.editor, 'right');
121
+ this.props.popper.show(this.dom, this.editor, 'auto');
122
122
  };
123
123
  this.handleEdit = () => {
124
124
  this.showPopper();
@@ -112,7 +112,7 @@ export class CitationEditableView extends CitationView {
112
112
  };
113
113
  this.editor = ReactSubView(this.props, CitationViewer, componentProps, this.node, this.getPos, this.view, 'citation-editor');
114
114
  }
115
- this.props.popper.show(this.dom, this.editor, 'right');
115
+ this.props.popper.show(this.dom, this.editor, 'auto');
116
116
  };
117
117
  this.handleEdit = () => {
118
118
  this.showPopper();
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.9",
4
+ "version": "1.9.10-LEAN-3508.0",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-body-editor",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",
package/styles/popper.css CHANGED
@@ -188,6 +188,7 @@
188
188
  }
189
189
 
190
190
  .popper .link-editor {
191
+ position: relative;
191
192
  background: #fff;
192
193
  border-radius: 8px;
193
194
  border: 1px solid #e2e2e2;
@@ -195,7 +196,10 @@
195
196
  height: auto;
196
197
  }
197
198
 
198
- .popper .citation-editor,
199
+ .popper .citation-editor {
200
+ position: relative;
201
+ width: 600px;
202
+ }
199
203
  .popper .table-footnote-editor {
200
204
  width: 600px;
201
205
  }