[update 资料中心] 左侧折叠

This commit is contained in:
danshihao
2024-10-10 16:35:57 +08:00
parent ada1285fd3
commit 7398f3c604
2 changed files with 46 additions and 6 deletions
+30
View File
@@ -1028,4 +1028,34 @@
:global(.tooltip-style .ant-tooltip-inner) {
max-height: 40vh;
overflow: auto;
}
// 列表左侧树结构可折叠样式
.page-left-box {
position: relative;
}
.page-left-box-hide {
width: 0 !important;
min-width: 0 !important;
padding: 0 !important;
border: none !important;
}
.control-left-tree-expand {
width: 12px;
height: 24px;
border-radius: 0 12px 12px 0;
background-color: @primary-color;
color: white;
position: absolute;
z-index: 3;
left: 100%;
top: calc(50% - 52px);
.anticon {
position: absolute;
top: 50%;
left: -2px;
transform: translateY(-50%);
cursor: pointer;
}
}