From 7aff3de0e4c931c8cf9a344556fa6719df852bb3 Mon Sep 17 00:00:00 2001 From: Thies Mueller <github@td00.de> Date: Thu, 6 Jun 2024 20:19:12 +0200 Subject: [PATCH] more button style --- a11y.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/a11y.js b/a11y.js index e5c697d..278cca2 100644 --- a/a11y.js +++ b/a11y.js @@ -41,6 +41,13 @@ accessibilityOptions.forEach(option => { button.textContent = option; button.style.display = 'block'; // Display each button on a new line button.style.marginBottom = '5px'; // Add spacing between buttons + button.style.color = '#000'; + button.style.backgroundColor = 'transparent'; + button.style.border = 'none'; + button.style.textAlign = 'left'; + button.style.width = '100%'; + button.style.padding = '10px'; + button.style.cursor = 'pointer'; accessibilityMenu.appendChild(button); });