Skip to content

Commit

Permalink
Fix auto-scrolling, which had become broken in recent Chrome versions.
Browse files Browse the repository at this point in the history
First, apply https://github.com/curiousdannii/parchment/pull/61/files#diff-e4a4476dbe1d400e7155a903822b966eL456
Then, apply https://github.com/curiousdannii/parchment/pull/67/files#diff-1eaa241ff6e61c18f0b92d6b5b581915R127

Many thanks to @MarcCote for writing the second patch above, and for
figuring out for me that the first patch needed to be applied also!
  • Loading branch information
MarcCote authored and Quuxplusone committed Sep 25, 2019
1 parent 36e2e28 commit 288b799
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion interpreter/parchment.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ BSD licenced
http://code.google.com/p/parchment
*/
html{overflow-y:scroll;-webkit-text-size-adjust:none;}body{background:#FFF;color:#000;font-family:Georgia,Palatino,serif;font-size:16px;margin:0 0 8px;text-align:center;}#parchment{margin:0 auto;text-align:left;}#gameport{line-height:1.4;margin:0 auto;text-align:left;width:80%;}.dialog{background:#fff;border:3px solid #ddd;border-radius:10px;-webkit-box-shadow:5px 5px 10px #777;box-shadow:5px 5px 10px #777;left:30%;padding:0 20px;position:fixed;top:20%;width:40%;}.load{text-align:left;}.panel input{display:block;margin:0 auto;width:50%;}.error{background:red;color:white;padding:10px;margin:10px;}#parchment{white-space:pre-wrap;}.TextInput{background:none;border:0;color:inherit;display:inline;font:inherit;outline:0;padding:0;}.CharInput{left:-999em;position:absolute;}.TextGrid{position:fixed;z-index:2;}.box{position:absolute;z-index:1;}.main,.TextGrid{padding:0 1px;}tt{font-family:monospace;line-height:1;}
html{overflow-y:scroll;-webkit-text-size-adjust:none;}body{background:#FFF;color:#000;font-family:Georgia,Palatino,serif;font-size:16px;margin:0 0 8px;text-align:center;}#parchment{margin:0 auto;text-align:left;}#gameport{line-height:1.4;margin:0 auto;text-align:left;width:80%;}.dialog{background:#fff;border:3px solid #ddd;border-radius:10px;-webkit-box-shadow:5px 5px 10px #777;box-shadow:5px 5px 10px #777;left:30%;padding:0 20px;position:fixed;top:20%;width:40%;}.load{text-align:left;}.panel input{display:block;margin:0 auto;width:50%;}.error{background:red;color:white;padding:10px;margin:10px;}#parchment{white-space:pre-wrap;}.TextInput{background:none;border:0;color:inherit;display:inline;font:inherit;outline:0;padding:0;}.lastinput{display:inline-block;}.CharInput{left:-999em;position:absolute;}.TextGrid{position:fixed;z-index:2;}.box{position:absolute;z-index:1;}.main,.TextGrid{padding:0 1px;}tt{font-family:monospace;line-height:1;}
Loading

0 comments on commit 288b799

Please sign in to comment.