Set overflow style in CSS
It is static and should never change.
This commit is contained in:
parent
156e6302e6
commit
b41068196e
@ -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
|
||||
|
@ -54,6 +54,7 @@
|
||||
|
||||
.bes-text-panel {
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
margin: 0px;
|
||||
color: transparent;
|
||||
border-color: transparent;
|
||||
|
Loading…
x
Reference in New Issue
Block a user