diff --git a/service.js b/service.js index 71740d0..9a6d4ba 100644 --- a/service.js +++ b/service.js @@ -885,7 +885,6 @@ class BesService { this.correctionPanel.style.marginBottom = styles.marginBottom this.correctionPanel.style.boxSizing = styles.boxSizing this.correctionPanel.style.scrollBehavior = styles.scrollBehavior - this.correctionPanel.style.overflow = 'hidden' this.scrollPanel.style.width = `${this.hostElement.scrollWidth}px` this.scrollPanel.style.height = `${this.hostElement.scrollHeight}px` this.canvasPanel.style.width = `${this.hostElement.scrollWidth}px` @@ -2291,7 +2290,6 @@ class BesTAService extends BesPlainTextService { textElement.style.hyphens = styles.hyphens textElement.style.boxSizing = styles.boxSizing textElement.style.scrollBehavior = styles.scrollBehavior - textElement.style.overflow = 'hidden' textElement.style.border = styles.border textElement.style.borderRadius = styles.borderRadius textElement.style.padding = styles.padding diff --git a/styles.css b/styles.css index 603eef4..e579d82 100644 --- a/styles.css +++ b/styles.css @@ -54,6 +54,7 @@ .bes-text-panel { position: absolute; + overflow: hidden; margin: 0px; color: transparent; border-color: transparent;