From 8e1cd26fcd16afeff878e5a3985e67e20fdeb5e2 Mon Sep 17 00:00:00 2001 From: Xavier Grosjean <grosjean@adobe.com> Date: Mon, 23 Oct 2017 13:08:54 +0200 Subject: [PATCH] Fixing 'select-all' issues on Firefox --- resources/glyphEditor.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/glyphEditor.html b/resources/glyphEditor.html index 25b2775..d234be3 100644 --- a/resources/glyphEditor.html +++ b/resources/glyphEditor.html @@ -35,12 +35,12 @@ SOFTWARE. <head> <meta charset="utf-8" /> <style> - #form { + body { user-select: none; + -moz-user-select: none; } #chars table { margin-top: 5px; - user-select: none; } #chars table, tr, td, th { border-collapse: collapse; @@ -62,7 +62,6 @@ SOFTWARE. #addChar, #generate { display: none; - user-select: none; } body.started #addChar, body.started #generate { display: inline; @@ -83,8 +82,10 @@ SOFTWARE. margin-top: 12px; font-size:12px; user-select: all; + -moz-user-select: all; max-width:60%; } + #header { margin-top: 10px; } @@ -129,7 +130,7 @@ const char My_Font[] PROGMEM = { <td colspan="3"> </td> <!--slightly improves layout--> </tr> <tr> - <td colspan="2"><button id="create">Create</button> </td> + <td colspan="2"><button id="create">Create</button> <button id="generate">Generate</button></td> <td><button id="parse">Parse</button></td> </tr> </table> @@ -141,7 +142,6 @@ const char My_Font[] PROGMEM = { <button id="addChar">Add a character</button> </div> <div id="output"> - <button id="generate">Generate</button> <div class="output" id="header"> </div> <div class="output" id="jump"> </div> <div class="output" id="data"> </div> -- GitLab