Skip to content

Commit

Permalink
#1 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
cumany committed Feb 23, 2022
1 parent 8a8e90c commit 67f37fb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
11 changes: 7 additions & 4 deletions src/components/FloatingTableOfContents.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,21 @@ const reveal = ref(false);
margin: 0;
padding: 0.1rem;
position: absolute;
top: 0;
top: 40px;
display: flex;
flex-direction: column;
justify-content: center;
justify-content: flex-start;
overflow: hidden;
bottom: 0;
bottom: 40px;
width: 2rem;
&[data-reveal="true"] {
width: auto;
overflow: visible;
overflow: auto;
}
&[data-reveal="true"]::-webkit-scrollbar {
display: none;
}
}
</style>
Expand Down
14 changes: 8 additions & 6 deletions styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 67f37fb

Please sign in to comment.