feat(ui): 为左侧面板添加悬停发光效果并隐藏滚动条

- 为 location 面板添加了 box-shadow 悬停效果,以提供视觉反馈
- 将左侧面板 index 中的滚动条宽度设置为 0,从而隐藏了滚动条
This commit is contained in:
Zzc 2025-11-28 15:11:46 +08:00
parent 3a3e89da78
commit 1e8e61a442
2 changed files with 6 additions and 1 deletions

View File

@ -78,6 +78,11 @@ const locationInfo = [
min-width: 248px; min-width: 248px;
max-width: 100%; max-width: 100%;
// min-height: 160px; // min-height: 160px;
&:hover {
// border: 2px solid rgba(255, 80, 80, 0.6);
box-shadow: 0 0 10px rgba(255, 80, 80, 0.6), 0 0 20px rgba(255, 0, 0, 0.4),
0 0 35px rgba(255, 0, 0, 0.25);
}
} }
// 2x2 // 2x2

View File

@ -173,7 +173,7 @@ const handleQuickResponseToggle = () => {
box-sizing: border-box; box-sizing: border-box;
&::-webkit-scrollbar { &::-webkit-scrollbar {
width: vw(6); width: vw(0);
} }
&::-webkit-scrollbar-track { &::-webkit-scrollbar-track {