Skip to content

Commit

Permalink
fix: fix lost scrollbar issue
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Mar 19, 2020
1 parent 40ea49e commit bc2cfce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
:host {
::-webkit-scrollbar {
width: 2px;
width: 0;
background: #ddd;
}

Expand All @@ -12,14 +12,15 @@

.markdown-toc {
min-height: 600px;
height: 100%;
height: calc(100vh - 64px);
overflow-y: hidden;

.left-drawer {
width: 15%;
min-width: 120px;
min-height: calc(100vh - 64px);
height: 100%;
overflow-y: scroll;
//min-height: calc(100vh - 64px);
//height: 100%;
//overflow-y: scroll;
}

.right-content {
Expand Down
1 change: 0 additions & 1 deletion src/styles/_markdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,6 @@

.left-drawer {
font-size: 1.2em;
overflow-y: scroll;
height: 100vh;

ul {
Expand Down

0 comments on commit bc2cfce

Please sign in to comment.