style: menu collapse button

This commit is contained in:
jialin
2026-06-04 15:48:44 +08:00
committed by jialin
parent 4945242c87
commit ab766b8c54
2 changed files with 19 additions and 51 deletions
+2 -26
View File
@@ -239,8 +239,8 @@ body {
height: 100%;
.ant-pro-sider-footer {
padding-block: 2px 0;
padding-left: 6px;
padding-block: 4px 0;
padding-left: 8px;
}
.ant-pro-sider-actions-list-item {
@@ -268,30 +268,6 @@ body {
.ant-pro-sider-logo-collapsed {
padding-left: 6px;
cursor: e-resize;
display: flex;
gap: 6px;
.collapse-wrap {
display: none;
position: absolute;
top: 12px;
&::after {
content: '';
position: absolute;
height: 48px;
width: 64px;
top: -16px;
left: -16px;
}
}
&:hover {
.collapse-wrap {
display: block;
}
}
}
}