From 461f31582d87a6b9b08e4637c0677ab54974367f Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 22 Aug 2024 20:14:08 +0000 Subject: [PATCH] add IDs for ricing (#93) + fix a11y bleed --- copyparty/web/browser.css | 1 + copyparty/web/browser.js | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 2e680f71..dd2401b1 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -626,6 +626,7 @@ pre, code, tt, #doc, #doc>code { overflow: hidden; width: 0; height: 0; + color: var(--bg); } html .ayjump:focus { z-index: 80386; diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index ff4bc894..424343d3 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -1643,16 +1643,16 @@ modal.load(); // toolbar ebi('ops').innerHTML = ( - '--' + - '🔎' + - (have_del ? '🧯' : '') + - '🚀' + - '🎈' + - '📂' + - '📝' + - '📟' + - '🎺' + - '⚙️' + + '--' + + '🔎' + + (have_del ? '🧯' : '') + + '🚀' + + '🎈' + + '📂' + + '📝' + + '📟' + + '🎺' + + '⚙️' + (IE ? '' + L.ot_noie + '' : '') + '
' );