From 3532f9f0cee8e66c842b304c184abb1ef0d6f10b Mon Sep 17 00:00:00 2001 From: Wx-2025 <351320169@qq.com> Date: Mon, 8 Sep 2025 04:53:03 +0800 Subject: [PATCH] Update cwb_style.css --- CharacterWorldBook/cwb_style.css | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/CharacterWorldBook/cwb_style.css b/CharacterWorldBook/cwb_style.css index 682193b..32847aa 100644 --- a/CharacterWorldBook/cwb_style.css +++ b/CharacterWorldBook/cwb_style.css @@ -202,9 +202,6 @@ } /* --- 世界书选择列表容器样式 --- */ -/* ST核心脚本 `dynamic-styles.js` 可能会尝试为此处的滚动条规则动态添加 `:focus-visible` 伪类, - * 但 `::-webkit-scrollbar-thumb` 伪元素不支持 `:focus-visible`,从而导致控制台出现CSS解析错误。 - * 这是一个已知的上游问题,需要等待ST方面修复。此问题不影响功能,仅为日志错误。*/ .cwb-scrollable-container { max-height: 250px; overflow-y: auto; @@ -261,8 +258,8 @@ top: 50%; left: 50%; transform: translate(-50%, -50%); - width: 75vw; - max-width: 1100px; + width: 90vw; + max-width: 1200px; height: 85vh; background: var(--cwb-cyber-bg); border: 2px solid var(--cwb-cyber-primary); @@ -472,11 +469,12 @@ } @media (max-width: 768px) { .cwb-cyber-popup { - width: 90vw; - height: 85vh; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); + width: 95vw; + height: 90vh; + max-width: none; + top: 5vh; + left: 2.5vw; + transform: none; border-radius: 8px; } .cwb-cyber-popup__main-content {