mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Instead of checking RT flag at compile time, adjust at run time
This commit is contained in:
parent
d433a88158
commit
c3b2af4345
2 changed files with 2 additions and 4 deletions
|
@ -39,6 +39,7 @@ div.full-size(
|
|||
ace-editor="editor",
|
||||
ng-if="!editor.richText",
|
||||
ng-show="!!editor.sharejs_doc && !editor.opening",
|
||||
style=showRichText ? "top: 40px" : "",
|
||||
theme="settings.theme",
|
||||
keybindings="settings.mode",
|
||||
font-size="settings.fontSize",
|
||||
|
|
|
@ -80,10 +80,7 @@
|
|||
.full-size;
|
||||
}
|
||||
|
||||
#editor when (@show-rich-text = true) {
|
||||
top: 40px; // TODO: replace with toolbar height var
|
||||
}
|
||||
#editor-rich-text when (@show-rich-text = true) {
|
||||
#editor-rich-text {
|
||||
top: 40px; // TODO: replace with toolbar height var
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue