Skip to content

Commit

Permalink
preserve scrolling with overflow:hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
kktsvetkov committed Oct 29, 2020
1 parent c4e4609 commit 6e7d501
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions heiho.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
* @link https://github.com/kktsvetkov/heiho
*/

/* Hide all body element but the preview when the preview is open */
body.heiho-body > * {display:none}
body.heiho-body > #heiho-view {display: block}
body.heiho-body {overflow:hidden}

/*
* #heiho-view
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kktsvetkov/heiho",
"version": "0.3.4",
"version": "0.3.5",
"description": "Quick spreadsheet viewer in vanilla JS",
"main": "heiho.js",
"repository":
Expand Down

0 comments on commit 6e7d501

Please sign in to comment.