From ff8798e8859302a6844d6e18d09e2f5b67f4c56f Mon Sep 17 00:00:00 2001 From: julismme <11083725@qq.com> Date: Fri, 9 Jan 2026 15:07:18 +0800 Subject: [PATCH] =?UTF-8?q?fix(barrage):=20=E4=BF=AE=E5=A4=8D=E5=BC=B9?= =?UTF-8?q?=E5=B9=95=E8=B6=85=E9=95=BF=E5=90=8E=E6=98=BE=E7=A4=BA=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/js/lib/barrager/barrager.css | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/src/main/resources/js/lib/barrager/barrager.css b/src/main/resources/js/lib/barrager/barrager.css index 3840af2fc..6b1c16327 100644 --- a/src/main/resources/js/lib/barrager/barrager.css +++ b/src/main/resources/js/lib/barrager/barrager.css @@ -1,5 +1,23 @@ -.barrage{position: fixed;bottom:70px;right:-500px;display: inline-block;width: 500px;z-index: 99999} -.barrage_box{background-color: rgba(0,0,0,.2);padding-right: 8px; height: 40px;display: inline-block;border-radius: 25px;transition: all .3s;} +.barrage { + position: fixed; + bottom: 70px; + right: -800px; + display: inline-block; + width: auto; + max-width: 800px; + z-index: 99999 +} + +.barrage_box { + background-color: rgba(0, 0, 0, .2); + padding-right: 8px; + height: 40px; + display: inline-block; + border-radius: 25px; + transition: all .3s; + white-space: nowrap; + overflow: visible; +} .barrage_box .portrait{ display: inline-block;margin-top: 4px; margin-left: 4px; width: 32px;height: 32px;border-radius: 50%;overflow: hidden;} .barrage_box .portrait img{width: 100%;height: 100%;} .barrage_box div.p a{ margin-right: 8px; font-size: 14px;color: #fff;line-height: 40px;margin-left: 8px; }