editor/performance: Fix performance for large pads (#4267)

* Fix line numbers top padding

This old rule was conflicting with new css rules introduced in 1.8.4

* Fixes #4228 Performance degradation for long pads 

Due to layout trashing when calculating new heights
This commit is contained in:
Sebastian Castro 2020-09-08 15:52:26 +02:00 committed by GitHub
parent da459888dc
commit 818194da90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 49 additions and 63 deletions

View file

@ -38,10 +38,6 @@ html.inner-editor {
word-wrap: break-word;
overflow-wrap: break-word;
}
#innerdocbody, #sidediv {
padding-top: 10px; /* Both must have same top padding, so line number are aligned with the rows */
padding-bottom: 10px; /* some space when we scroll to the bottom */
}
#innerdocbody a {
color: #2e96f3;