|
|
@@ -1937,11 +1937,30 @@ html, body, #app {
|
|
|
.camp-list {
|
|
|
flex: 1;
|
|
|
overflow-y: auto !important;
|
|
|
- min-height: 0; /* 关键:允许 flex 子项收缩,触发滚动 */
|
|
|
+ min-height: 0;
|
|
|
padding: 3px;
|
|
|
scrollbar-gutter: stable;
|
|
|
+ height: 500px; /* 添加固定高度,可根据需要调整 */
|
|
|
+ max-height: 500px; /* 限制最大高度 */
|
|
|
}
|
|
|
|
|
|
+.camp-list::-webkit-scrollbar {
|
|
|
+ width: 8px;
|
|
|
+}
|
|
|
+
|
|
|
+.camp-list::-webkit-scrollbar-track {
|
|
|
+ background: #f1f1f1;
|
|
|
+ border-radius: 4px;
|
|
|
+}
|
|
|
+
|
|
|
+.camp-list::-webkit-scrollbar-thumb {
|
|
|
+ background: #c1c1c1;
|
|
|
+ border-radius: 4px;
|
|
|
+}
|
|
|
+
|
|
|
+.camp-list::-webkit-scrollbar-thumb:hover {
|
|
|
+ background: #909399;
|
|
|
+}
|
|
|
.camp-item {
|
|
|
margin-bottom: 5px;
|
|
|
padding: 15px;
|