Skip to content

Commit

Permalink
fix:hide the scrollbar when the area does not overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
luoliwoshang committed Mar 13, 2024
1 parent 2ef4de7 commit 22a1f5f
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions spx-gui/src/components/sprite-list/SpriteList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -148,22 +148,13 @@ watchEffect(() => {
}
@mixin libraryRightBase {
max-height: calc(60vh - 60px - 24px);
overflow-y: auto;
}
.asset-library-right {
@include libraryRightBase;
background: white;
border-left:2px dashed #8f98a1
}
.asset-library-right-click {
@include libraryRightBase;
background: #f7f7f7;
overflow: scroll;
}
.asset-library-left {
margin-top: 30px;
max-height: calc(60vh - 60px - 24px - 40px);
overflow: scroll;
overflow: auto;
padding: 10px;
}
}
Expand Down

0 comments on commit 22a1f5f

Please sign in to comment.