From aab1fff61f79a26c4e6f0036ab4962a91fb57669 Mon Sep 17 00:00:00 2001 From: GILGAMESH <~@gilgamesh.cc> Date: Fri, 30 Oct 2020 17:13:11 -0400 Subject: [PATCH] PlaylistsNav now calculates scroll correctly --- src/ui/components/PlaylistsNav/PlaylistsNav.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ui/components/PlaylistsNav/PlaylistsNav.css b/src/ui/components/PlaylistsNav/PlaylistsNav.css index e0d8ea1fd..62d105491 100644 --- a/src/ui/components/PlaylistsNav/PlaylistsNav.css +++ b/src/ui/components/PlaylistsNav/PlaylistsNav.css @@ -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); @@ -8,6 +10,7 @@ } .playlists-nav__header { + flex: 0 0 auto; display: flex; align-items: center; } @@ -43,7 +46,7 @@ } .playlists-nav__body { - max-height: 100%; + flex: 1 1 auto; overflow: auto; }