diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2022-11-15 01:06:35 +0000 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2022-11-15 01:06:35 +0000 |
| commit | a55c0c188b55d71eb6ebc2984561e21cf2d20fe3 (patch) | |
| tree | 5ca5af269cbd31d01f25e9f0dc31aa76b64763d6 | |
| parent | a90bb4a4ef9fac5c6185b763aa2cafba9d7c6b12 (diff) | |
| download | puzzles-a55c0c188b55d71eb6ebc2984561e21cf2d20fe3.zip puzzles-a55c0c188b55d71eb6ebc2984561e21cf2d20fe3.tar.gz puzzles-a55c0c188b55d71eb6ebc2984561e21cf2d20fe3.tar.bz2 puzzles-a55c0c188b55d71eb6ebc2984561e21cf2d20fe3.tar.xz | |
js: Use -moz-appearance and -webkit-appearance
The "appearance" property is newer than WebAssembly, but major browsers
have much older namespaced versions that we can support as well.
| -rwxr-xr-x | html/jspage.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/html/jspage.pl b/html/jspage.pl index 2b2688b..6ce13a7 100755 --- a/html/jspage.pl +++ b/html/jspage.pl @@ -195,6 +195,8 @@ EOF #gamemenu button { /* Menu items that trigger an action. We put some effort into * removing the default button styling. */ + -moz-appearance: none; + -webkit-appearance: none; appearance: none; font: inherit; color: inherit; @@ -208,6 +210,8 @@ EOF /* The tick at the start of a menu item, or its unselected equivalent. * This is represented by an <input type="radio">, so we put some * effort into overriding the default style. */ + -moz-appearance: none; + -webkit-appearance: none; appearance: none; margin: initial; font: inherit; |