style: transition wrapper height

This commit is contained in:
jialin
2024-06-06 16:07:25 +08:00
parent c5b41900df
commit 6a60561401
8 changed files with 119 additions and 90 deletions
+13 -1
View File
@@ -23,6 +23,18 @@
.content-wrapper {
overflow: hidden;
transition: height 300ms ease-in-out;
transition: all 300ms ease-in-out;
.content {
height: max-content;
background-color: var(--color-white-1);
border-radius: var(--border-radius-base);
}
}
.ant-input {
/* 只隐藏垂直滚动条轨道 */
&::-webkit-scrollbar-track {
width: 0px !important;
color: transparent;
}
}
}