mirror of
https://github.com/Hopiu/ep_page_view.git
synced 2026-03-16 20:20:24 +00:00
fix issue with container top not being right on default view
This commit is contained in:
parent
3689930d8e
commit
4540dd327c
2 changed files with 3 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ep_page_view",
|
||||
"version": "0.4.9",
|
||||
"version": "0.5.0",
|
||||
"keywords": ["page view", "pv", "preview", "overview", "page break", "break", "new page"],
|
||||
"description": "Add support to do 'page view', with a toggle on/off option in Settings, also Page Breaks with Control Enter",
|
||||
"contributors": [
|
||||
|
|
|
|||
|
|
@ -24,6 +24,8 @@ if (!isMobile) {
|
|||
$('#options-linenoscheck').attr("disabled", true);
|
||||
}
|
||||
$('#editorcontainer').css("top", "15px");
|
||||
var containerTop = $('.toolbar').position().top + $('.toolbar').height() +5;
|
||||
$('#editorcontainerbox').css("top", containerTop);
|
||||
$('#ep_page_ruler').show();
|
||||
pad.changeViewOption('showLineNumbers', false);
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue