Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed Dec 1, 2023
1 parent 1a57cae commit 0725056
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6ca558fb
f7985466
10 changes: 5 additions & 5 deletions BiocSlack.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion BiocSlack_files/libs/bootstrap/bootstrap.min.css

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion BiocSlack_files/libs/quarto-html/quarto.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,17 @@ window.document.addEventListener("DOMContentLoaded", function (_event) {
// Recompute the position of margin elements anytime the body size changes
if (window.ResizeObserver) {
const resizeObserver = new window.ResizeObserver(
throttle(layoutMarginEls, 50)
throttle(() => {
layoutMarginEls();

console.log(window.document.body.getBoundingClientRect());
if (
window.document.body.getBoundingClientRect().width < 990 &&
isReaderMode()
) {
quartoToggleReader();
}
}, 50)
);
resizeObserver.observe(window.document.body);
}
Expand Down
Loading

0 comments on commit 0725056

Please sign in to comment.