Skip to content

Commit

Permalink
Merge pull request #549 from GilgameshxZero/bugfix-playlist-scroll
Browse files Browse the repository at this point in the history
Calculate PlaylistsNav height and scroll correctly
  • Loading branch information
martpie authored Oct 30, 2020
2 parents 64a5c61 + 91db499 commit ee95965
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ui/components/PlaylistsNav/PlaylistsNav.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.playlists-nav {
display: flex;
flex-flow: column;
width: 200px;
border-right: 1px solid var(--border-color);
background-color: var(--sidebar-bg);
Expand All @@ -8,6 +10,7 @@
}

.playlists-nav__header {
flex: 0 0 auto;
display: flex;
align-items: center;
}
Expand Down Expand Up @@ -43,7 +46,7 @@
}

.playlists-nav__body {
max-height: 100%;
flex: 1 1 auto;
overflow: auto;
}

Expand Down

0 comments on commit ee95965

Please sign in to comment.