From 852ddf70b7ed3d027eb5cb8415df4df77b8652a6 Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Wed, 30 Sep 2020 23:50:31 -0400
Subject: fixed filtering by #links.  improved textlink preview layout.

---
 src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx')

diff --git a/src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx b/src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx
index 21b5190f9..5183e193b 100644
--- a/src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx
+++ b/src/client/views/nodes/formattedText/FormattedTextBoxComment.tsx
@@ -88,7 +88,7 @@ export class FormattedTextBoxComment {
             FormattedTextBoxComment.tooltipInput.type = "checkbox";
             FormattedTextBoxComment.tooltip = document.createElement("div");
             FormattedTextBoxComment.tooltipText = document.createElement("div");
-            FormattedTextBoxComment.tooltipText.style.width = "100%";
+            //FormattedTextBoxComment.tooltipText.style.width = "100%";
             FormattedTextBoxComment.tooltipText.style.height = "100%";
             FormattedTextBoxComment.tooltipText.style.textOverflow = "ellipsis";
             FormattedTextBoxComment.tooltip.appendChild(FormattedTextBoxComment.tooltipText);
@@ -234,6 +234,7 @@ export class FormattedTextBoxComment {
                     FormattedTextBoxComment.tooltip.removeChild(FormattedTextBoxComment.tooltipText);
                 } catch (e) { }
                 FormattedTextBoxComment.tooltipText = document.createElement("div");
+                FormattedTextBoxComment.tooltipText.className = "FormattedTextBoxComment-toolTipText";
                 FormattedTextBoxComment.tooltipText.style.width = "100%";
                 FormattedTextBoxComment.tooltipText.style.height = "100%";
                 FormattedTextBoxComment.tooltipText.style.textOverflow = "ellipsis";
@@ -329,7 +330,7 @@ export class FormattedTextBoxComment {
 
                                 ReactDOM.render(docPreview, FormattedTextBoxComment.tooltipText);
 
-                                FormattedTextBoxComment.tooltip.style.width = "100%";
+                                //FormattedTextBoxComment.tooltip.style.width = "100%";
                                 FormattedTextBoxComment.tooltip.style.height = "100%";
                             }
                         }
-- 
cgit v1.2.3-70-g09d2

