style: playground collapse button

This commit is contained in:
jialin
2024-07-30 18:11:21 +08:00
parent 64f60b48cf
commit cfdc731313
7 changed files with 92 additions and 29 deletions
+4 -5
View File
@@ -7,6 +7,8 @@
display: flex;
justify-content: flex-start;
width: 391px;
overflow-x: hidden;
transition: width 0.3s ease;
.collapse-btn {
position: absolute;
@@ -15,12 +17,9 @@
z-index: 1;
}
transition: width 0.3s ease;
&.collapse {
width: 33px;
padding-left: 32px;
// overflow: hidden;
width: 0;
overflow: hidden;
transition: width 0.3s ease;
}
}