Browse Source

Merge pull request #223 from btea/master

fix: sheet menu position
master
mengshukeji 5 years ago
committed by GitHub
parent
commit
9999fa1038
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/controllers/sheetBar.js

4
src/controllers/sheetBar.js

@ -451,7 +451,9 @@ export function initialSheetBar(){
let $t = $("#luckysheet-sheet-list");
mouseclickposition($t, $(this).offset().left, $(this).offset().top - 12, "leftbottom");
let left = $(this).offset().left - $('#' + Store.container).offset().left;
let bottom = $(this).height() + $('#luckysheet-sta-content').height() + 12;
$t.css({left: left + 'px', bottom: bottom + 'px'}).show();
$("#luckysheet-input-box").removeAttr("style");
});

Loading…
Cancel
Save