aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Layout.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Layout.mjs')
-rw-r--r--src/Layout.mjs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Layout.mjs b/src/Layout.mjs
index 8a9f316..789027b 100644
--- a/src/Layout.mjs
+++ b/src/Layout.mjs
@@ -161,11 +161,11 @@ export class Overlay extends Layout {
161 // Plus/Minus font-size of content 161 // Plus/Minus font-size of content
162 wrapper.querySelector('#plus-font-size').onclick = () => { 162 wrapper.querySelector('#plus-font-size').onclick = () => {
163 const fontSize = parseFloat(getComputedStyle(block).fontSize) / 16 163 const fontSize = parseFloat(getComputedStyle(block).fontSize) / 16
164 block.style.fontSize = `${fontSize + 0.1}rem` 164 block.style.fontSize = `${fontSize + 0.2}rem`
165 } 165 }
166 wrapper.querySelector('#minus-font-size').onclick = () => { 166 wrapper.querySelector('#minus-font-size').onclick = () => {
167 const fontSize = parseFloat(getComputedStyle(block).fontSize) / 16 167 const fontSize = parseFloat(getComputedStyle(block).fontSize) / 16
168 block.style.fontSize = `${fontSize - 0.1}rem` 168 block.style.fontSize = `${fontSize - 0.2}rem`
169 } 169 }
170 }) 170 })
171 } 171 }