diff --git a/_layouts/default.html b/_layouts/default.html index e42fd25..7755707 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -8,7 +8,7 @@ {%- include footer.html -%} {% include link-previews.html %} - - + + \ No newline at end of file diff --git a/_sass/_digital-garden.scss b/_sass/_digital-garden.scss index fc806da..a271dc0 100644 --- a/_sass/_digital-garden.scss +++ b/_sass/_digital-garden.scss @@ -13,6 +13,16 @@ font-family: "Anthony", sans-serif; } +// Extended cursors + +.grab:hover { + cursor: grab; +} + +.grabbing:active { + cursor: grabbing; +} + // Notes Graph .links path { diff --git a/assets/js/scripts.js b/assets/js/scripts.js index 9b12788..85b6744 100644 --- a/assets/js/scripts.js +++ b/assets/js/scripts.js @@ -166,7 +166,7 @@ if (typeof window.graphData !== 'undefined') { const element = document.createElementNS('http://www.w3.org/2000/svg', 'svg') element.setAttribute('width', graphWrapper.getBoundingClientRect().width) element.setAttribute('height', window.innerHeight * 0.8) - element.classList.add('absolute', 'vh-100') + element.classList.add('absolute', 'vh-100', 'grab', 'grabbing') graphWrapper.appendChild(element) const reportWindowSize = () => {