about summary refs log tree commit diff stats
path: root/js
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2024-01-15 21:38:55 -0500
committerelioat <elioat@tilde.institute>2024-01-15 21:38:55 -0500
commit46fa8433752940a4e6d918323575590207063f4e (patch)
tree4266f008aa134bf91e8e18610dc4d97f140bc0c7 /js
parente71fd1a14ed539b7c8d328e5df13df65ae939189 (diff)
downloadtour-46fa8433752940a4e6d918323575590207063f4e.tar.gz
*
Diffstat (limited to 'js')
-rw-r--r--js/inknswitch/index.html1
-rw-r--r--js/inknswitch/ink.js4
2 files changed, 3 insertions, 2 deletions
diff --git a/js/inknswitch/index.html b/js/inknswitch/index.html
index 4c62315..cf108ae 100644
--- a/js/inknswitch/index.html
+++ b/js/inknswitch/index.html
@@ -46,6 +46,7 @@
             border: 0;
             outline: 0;
             width: 100%;
+            scrollbar-color: #000 #fff;
         }
         canvas {
             padding: 0;
diff --git a/js/inknswitch/ink.js b/js/inknswitch/ink.js
index 3ac1892..378482f 100644
--- a/js/inknswitch/ink.js
+++ b/js/inknswitch/ink.js
@@ -16,8 +16,8 @@ const ctx = canvas.getContext('2d');
 const noteArea = document.getElementById('noteArea');
 noteArea.value = localStorage.getItem('noteContent') || '';
 
-noteArea.style.width = '98vw';
-noteArea.style.height = '94vh';
+noteArea.style.width = '100vw';
+noteArea.style.height = '100vh';
 noteArea.style.boxSizing = 'border-box';
 noteArea.style.position = 'absolute';
 noteArea.style.backgroundColor = 'rgba(255, 255, 255, 0.75)';