Skip to content

Commit

Permalink
[docs] Show sidebar scrollbar only on hover (ToolJet#2360)
Browse files Browse the repository at this point in the history
  • Loading branch information
Navaneeth-pk authored Feb 27, 2022
1 parent c0e8049 commit 607a59d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,6 @@ body {
article h2 {
font-size: 1.5rem !important;
}
.menu::-webkit-scrollbar {
width: 0;
}
.menu:hover::-webkit-scrollbar{
width: 6.5px;
}
}

.menu__list {
Expand Down Expand Up @@ -156,3 +150,11 @@ strong {
.alert a {
color: inherit;
}

.menu {
overflow: hidden;
}

.menu:hover {
overflow-y: overlay;
}

0 comments on commit 607a59d

Please sign in to comment.