diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/inknswitch/index.html | 1 | ||||
-rw-r--r-- | js/inknswitch/ink.js | 4 |
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)'; |