接单模板左侧编辑卡片吸顶固定不再随列表滚动
This commit is contained in:
@@ -1094,19 +1094,28 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.product-rules-form-card {
|
.product-rules-form-card {
|
||||||
|
position: sticky;
|
||||||
|
top: 16px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
max-height: calc(100vh - 32px);
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.product-rules-form-card .ant-card-head {
|
.product-rules-form-card .ant-card-head {
|
||||||
padding: 0 16px;
|
padding: 0 16px;
|
||||||
min-height: 48px;
|
min-height: 48px;
|
||||||
|
flex-shrink: 0;
|
||||||
border-bottom: 1px solid #f0f0f0;
|
border-bottom: 1px solid #f0f0f0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.product-rules-form-card .ant-card-body {
|
.product-rules-form-card .ant-card-body {
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
|
flex: 1 1 auto;
|
||||||
|
min-height: 0;
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.product-rule-main-form .ant-form-item {
|
.product-rule-main-form .ant-form-item {
|
||||||
@@ -1373,6 +1382,10 @@
|
|||||||
max-height: none;
|
max-height: none;
|
||||||
overflow-y: visible;
|
overflow-y: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.product-rules-form-card .ant-card-body {
|
||||||
|
overflow-y: visible;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 900px) {
|
@media (max-width: 900px) {
|
||||||
|
|||||||
Reference in New Issue
Block a user