规则编辑左侧固定
This commit is contained in:
@@ -1008,6 +1008,25 @@
|
|||||||
width: calc(30% - 8px);
|
width: calc(30% - 8px);
|
||||||
min-width: 360px;
|
min-width: 360px;
|
||||||
border-radius: 8px;
|
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 {
|
.product-rules-form-card .ant-card-body {
|
||||||
@@ -1112,6 +1131,12 @@
|
|||||||
flex: 1 1 100%;
|
flex: 1 1 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.product-rules-form-card {
|
||||||
|
position: static;
|
||||||
|
max-height: none;
|
||||||
|
overflow-y: visible;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 900px) {
|
@media (max-width: 900px) {
|
||||||
|
|||||||
Reference in New Issue
Block a user