From 19eceb738f57224e69f0e79802a8b6eddc9b1ffc Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sun, 13 Mar 2022 19:22:36 +0200 Subject: [PATCH] examples : fix performance issue on some browsers For example, Safari becomes super slow when the outline of the HTML element is enabled. --- examples/emscripten0/style.css | 1 + examples/hnterm/style.css | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/emscripten0/style.css b/examples/emscripten0/style.css index cb4e2c20..aeded7bc 100644 --- a/examples/emscripten0/style.css +++ b/examples/emscripten0/style.css @@ -11,6 +11,7 @@ body { font: sans-serif; } .no-sel { + outline: none; -moz-user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; diff --git a/examples/hnterm/style.css b/examples/hnterm/style.css index cb4e2c20..aeded7bc 100644 --- a/examples/hnterm/style.css +++ b/examples/hnterm/style.css @@ -11,6 +11,7 @@ body { font: sans-serif; } .no-sel { + outline: none; -moz-user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;