mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #578 from sharelatex/as-fix-cm-scrolling
Fix rich text not scrolling correctly
This commit is contained in:
commit
0665cf1ebf
2 changed files with 26 additions and 7 deletions
|
@ -201,13 +201,9 @@
|
|||
}
|
||||
}
|
||||
|
||||
.cm-editor-wrapper {
|
||||
height: 100%;
|
||||
|
||||
.CodeMirror {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
/**************************************
|
||||
Ace
|
||||
***************************************/
|
||||
|
||||
// The internal components of the aceEditor directive
|
||||
.ace-editor-wrapper {
|
||||
|
@ -282,6 +278,23 @@
|
|||
}
|
||||
}
|
||||
|
||||
/**************************************
|
||||
CodeMirror
|
||||
***************************************/
|
||||
.cm-editor-wrapper {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.cm-editor-body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
// CM (for some reason) has height set to 300px in it's stylesheet
|
||||
.CodeMirror {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.ui-layout-resizer when (@is-overleaf = false) {
|
||||
width: 6px;
|
||||
background-color: @editor-resizer-bg-color;
|
||||
|
|
|
@ -775,6 +775,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
#editor-rich-text {
|
||||
.rp-size-expanded & {
|
||||
right: @review-panel-width;
|
||||
}
|
||||
}
|
||||
|
||||
.rp-toggle {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
|
|
Loading…
Reference in a new issue