aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/RichTextSchema.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-10-04 01:50:57 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-10-04 01:50:57 -0400
commit53685a27139886c1df74840cc9f451c046a32de6 (patch)
tree849bc481ce4dbf196686f5ba2c046430663c28a9 /src/client/util/RichTextSchema.tsx
parent460cec4d786e026dabdb8fb873284f6574799367 (diff)
got rid of MainOverlayTextBox! fixed some things with embedding docs in text
Diffstat (limited to 'src/client/util/RichTextSchema.tsx')
-rw-r--r--src/client/util/RichTextSchema.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/util/RichTextSchema.tsx b/src/client/util/RichTextSchema.tsx
index 7be773475..12cf40b32 100644
--- a/src/client/util/RichTextSchema.tsx
+++ b/src/client/util/RichTextSchema.tsx
@@ -720,8 +720,8 @@ export class DashDocView {
this._outer.style.overflow = "hidden";
(this._outer.style as any).float = node.attrs.float;
- this._dashSpan.style.width = "100%";
- this._dashSpan.style.height = "100%";
+ this._dashSpan.style.width = node.attrs.width;
+ this._dashSpan.style.height = node.attrs.height;
this._dashSpan.style.position = "absolute";
this._dashSpan.style.display = "inline-block"
this._handle.style.position = "absolute";