From 131bbe11e67311f7607ff63070264501a644586a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Marchal?= Date: Sat, 30 Jan 2021 14:19:01 +0100 Subject: [PATCH] Replace eye icon with SVG for Apple platforms --- scripts/explorer.js | 2 +- styles/icons/eye.svg | 9 +++++++++ styles/main.css | 4 ++++ 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 styles/icons/eye.svg diff --git a/scripts/explorer.js b/scripts/explorer.js index db5f003..a248baf 100644 --- a/scripts/explorer.js +++ b/scripts/explorer.js @@ -339,7 +339,7 @@ jQuery(document).ready(function($) else result += ' ' - result += '👁'; + result += ''; result += ""; $("table").append(result); diff --git a/styles/icons/eye.svg b/styles/icons/eye.svg new file mode 100644 index 0000000..a963457 --- /dev/null +++ b/styles/icons/eye.svg @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/styles/main.css b/styles/main.css index f23f64d..4877ab1 100644 --- a/styles/main.css +++ b/styles/main.css @@ -502,6 +502,10 @@ article.explorer tr td:last-child { white-space:nowrap; } +article.explorer tr td:last-child img { + max-width:50%; +} + article.explorer tr td.help { font-size:1.5rem; text-align:center;