From 5b597511ac78ddb14d2c8499a84761614367d4fd Mon Sep 17 00:00:00 2001 From: SillyLossy Date: Sun, 16 Apr 2023 20:21:45 +0300 Subject: [PATCH] Closes #89 --- public/index.html | 5 +++-- public/scripts/extensions/caption/index.js | 4 ++-- public/style.css | 5 +++++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/public/index.html b/public/index.html index 295ce50ec..94d920c0a 100644 --- a/public/index.html +++ b/public/index.html @@ -54,6 +54,7 @@ +
@@ -252,7 +253,7 @@
Alternative server URL (leave empty to use the default value).
- Don't expose your real API keys to reverse proxies! + Don't expose your real API keys to reverse proxies!
@@ -1819,7 +1820,7 @@
-
+
diff --git a/public/scripts/extensions/caption/index.js b/public/scripts/extensions/caption/index.js index 29a137cc8..e1528d33c 100644 --- a/public/scripts/extensions/caption/index.js +++ b/public/scripts/extensions/caption/index.js @@ -17,7 +17,7 @@ async function setImageIcon() { try { const sendButton = document.getElementById('send_picture'); sendButton.classList.add('fa-image'); - sendButton.classList.remove('fa-hourglass-half'); + sendButton.classList.remove('fa-hourglass-half', 'fa-fade'); } catch (error) { console.log(error); @@ -28,7 +28,7 @@ async function setSpinnerIcon() { try { const sendButton = document.getElementById('send_picture'); sendButton.classList.remove('fa-image'); - sendButton.classList.add('fa-hourglass-half'); + sendButton.classList.add('fa-hourglass-half', 'fa-fade'); } catch (error) { console.log(error); diff --git a/public/style.css b/public/style.css index b4fcaf785..0ee58693b 100644 --- a/public/style.css +++ b/public/style.css @@ -3148,6 +3148,11 @@ toolcool-color-picker { flex-wrap: wrap; } +.reverse_proxy_warning { + color: red; + opacity: 0.5; +} + .textarea_compact { font-size: calc(var(--mainFontSize) * 0.9); line-height: 1.2;