Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed Dec 28, 2018
1 parent 4de2be6 commit 6abb532
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion src/styles/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
.sidebar-container {
transition: width 0.28s;
width: 225px !important;
min-height: calc(70% - 120px);
min-height: 500px;
background: #333;
box-shadow: 0 8px 14.72px 1.28px rgba(101,169,119,.3);
position: absolute;
Expand All @@ -69,9 +69,15 @@
height: 100%;
}
}
.el-submenu__title{
font-size:16px;
}
.el-scrollbar__bar.is-vertical{
right: 0px;
}
.el-submenu__icon-arrow{
color:$primary;
}
.is-horizontal {
display: none;
}
Expand Down
4 changes: 2 additions & 2 deletions src/views/layout/components/TagsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ export default {
this.visible = true
this.selectedTag = tag
console.log(e)
if (!this.sidebar) { this.left = e.clientX - 40 } else { this.left = e.clientX - 180 }
this.top = e.clientY
if (!this.sidebar) { this.left = e.clientX - 40 } else { this.left = e.clientX - 275 }
this.top = e.clientY - 70
},
closeMenu() {
this.visible = false
Expand Down

0 comments on commit 6abb532

Please sign in to comment.