From 73e46a929560060e9511749ad190528f31764cfa Mon Sep 17 00:00:00 2001 From: taoshihan Date: Wed, 27 Aug 2025 17:20:10 +0800 Subject: [PATCH] fix --- go.mod | 1 - static/js/chat-widget.js | 7 +++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 69be369..2b65f09 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,6 @@ module goflylivechat go 1.21 -toolchain go1.21.0 require ( github.com/dchest/captcha v0.0.0-20200903113550-03f5f0333e1f diff --git a/static/js/chat-widget.js b/static/js/chat-widget.js index 51ea479..2c35c8b 100644 --- a/static/js/chat-widget.js +++ b/static/js/chat-widget.js @@ -105,6 +105,13 @@ CHAT_WIDGET.injectStyles = function() { cursor: pointer; font-size: 20px; } + @media (max-width: 800px) { + #chat-widget-container { + width: 100% !important; + right: 0 !important; + bottom: 80px !important; + } + } `; document.head.appendChild(style); };