From 9cb99d3e0db2c59f334d1f670ae74ead12717b2d Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Sun, 11 Jan 2026 15:46:22 +0800
Subject: [PATCH] 1
---
static/css/public2.css | 29 +++++++++++++++++++----------
1 files changed, 19 insertions(+), 10 deletions(-)
diff --git a/static/css/public2.css b/static/css/public2.css
index 4272fc7..fb1304d 100644
--- a/static/css/public2.css
+++ b/static/css/public2.css
@@ -15155,26 +15155,35 @@
text-decoration: none;
}
+/* 隐藏滚动条但保持滚动功能 */
::-webkit-scrollbar {
- width: 5px;
- height: 5px;
+ display: none;
+ width: 0;
+ height: 0;
}
::-webkit-scrollbar-track-piece {
- background-color: rgba(0, 0, 0, 0.2);
- -webkit-border-radius: 6px;
+ display: none;
}
::-webkit-scrollbar-thumb:vertical {
- height: 5px;
- background-color: hsla(0, 0%, 49%, 0.7);
- -webkit-border-radius: 6px;
+ display: none;
}
::-webkit-scrollbar-thumb:horizontal {
- width: 5px;
- background-color: hsla(0, 0%, 49%, 0.7);
- -webkit-border-radius: 6px;
+ display: none;
+}
+
+/* 全局隐藏滚动条 - 跨浏览器兼容 */
+* {
+ scrollbar-width: none; /* Firefox */
+ -ms-overflow-style: none; /* IE and Edge */
+}
+
+*::-webkit-scrollbar {
+ display: none; /* Chrome, Safari, Opera */
+ width: 0;
+ height: 0;
}
input {
--
Gitblit v1.9.3