Skip to content

Commit

Permalink
Hack fake failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzohrab committed Jan 7, 2025
1 parent e258ae6 commit 3e0b8b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lute/templates/read/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ <h2>&#127881;</h2>
readPaneRight.classList.add("open-dict");
btmMarginCont.classList.add("open-dict");

const viewportHeight = document.documentElement.clientHeight;
// const viewportHeight = document.documentElement.clientHeight;
const mousePosPercent = mouseY / viewportHeight * 100;
const dict_transform = `translateY(${Math.round(mousePosPercent) + 10}%)`;
document.querySelector("#read_pane_right.open-dict").style.transform = dict_transform;
Expand Down

0 comments on commit 3e0b8b4

Please sign in to comment.