Skip to content

Commit aa85708

Browse files
committed
perf: tree scroll
1 parent dd08212 commit aa85708

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/app/elements/asset-tree/asset-tree.component.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,14 @@
143143
position: relative;
144144
padding: 5px 10px;
145145
min-height: 40px;
146-
overflow-x: auto;
147146
height: calc(100% - 31px);
148147
background-color: var(--el-asset-tree-bg-color);
148+
overflow: hidden;
149+
scrollbar-gutter: stable both-edges;
150+
151+
&:hover {
152+
overflow: auto;
153+
}
149154

150155
.tree-type-loading {
151156
position: absolute;

0 commit comments

Comments
 (0)