fix: ensure PageContainer affix header displays, hide only generic ant-affix
This commit is contained in:
parent
a2fe13a54b
commit
6498edff1b
@ -227,12 +227,12 @@ div[class*="page-container-header"] .ant-tabs-ink-bar {
|
|||||||
display: flex !important;
|
display: flex !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 隐藏ant-affix固定定位元素
|
// 确保PageContainer的affix header显示
|
||||||
.ant-affix {
|
.ant-pro-page-container-affix {
|
||||||
display: none !important;
|
display: block !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 隐藏包含ant-affix的元素
|
// 只隐藏通用的ant-affix(非PageContainer相关)
|
||||||
.ant-affix-wrapper {
|
.ant-affix:not(.ant-pro-page-container-affix) {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user