Skip to content

Commit

Permalink
更新左边栏样式
Browse files Browse the repository at this point in the history
  • Loading branch information
more-strive committed Dec 8, 2023
1 parent e26b728 commit 09fdeba
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/views/Editor/CanvasLeft/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,15 +117,22 @@ const setPoolType = (tab: PoolType) => {
}
}
}
.center-tabs {
overflow-y: scroll;
overflow-x: hidden;
height: calc(100vh - 160px);
}
.center-tab {
width: 100%;
height: 50px;
height: 60px;
padding-left: 2px;
text-align: center;
font-size: 12px;
cursor: pointer;
display: flex;
flex-direction: column;
justify-content: center;
position: relative;
.left-icon {
font-size: 20px;
Expand All @@ -148,7 +155,6 @@ const setPoolType = (tab: PoolType) => {
height: 41px;
left: -3px;
position: absolute;
top: calc(var(--index) * 72px + 23px);
transition: top .2s;
width: 6px;
z-index: 20;
Expand Down Expand Up @@ -195,9 +201,10 @@ const setPoolType = (tab: PoolType) => {
position: absolute;
bottom: 0;
width: 49px;
z-index: 30;
}
.bottom-tab {
height: 50px;
height: 60px;
display: flex;
flex-direction: column;
justify-content: center;
Expand Down

0 comments on commit 09fdeba

Please sign in to comment.