规则编辑左侧固定

This commit is contained in:
yml2213
2026-08-17 11:43:00 +08:00
parent 77ed97fe1f
commit 2881a99040
+25
View File
@@ -1008,6 +1008,25 @@
width: calc(30% - 8px);
min-width: 360px;
border-radius: 8px;
position: sticky;
top: 0;
align-self: flex-start;
max-height: calc(100vh - 84px);
overflow-y: auto;
z-index: 10;
}
.product-rules-form-card::-webkit-scrollbar {
width: 5px;
}
.product-rules-form-card::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.15);
border-radius: 4px;
}
.product-rules-form-card::-webkit-scrollbar-track {
background: transparent;
}
.product-rules-form-card .ant-card-body {
@@ -1112,6 +1131,12 @@
flex: 1 1 100%;
width: 100%;
}
.product-rules-form-card {
position: static;
max-height: none;
overflow-y: visible;
}
}
@media (max-width: 900px) {