From 656f98cd13979ef3e3e7d059893ead7ab5276761 Mon Sep 17 00:00:00 2001 From: Sebastien Date: Sun, 2 Dec 2018 16:19:00 +0200 Subject: [PATCH] Limit size of the playlist on web view --- src/main/resources/templates/music.html | 26 ++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/src/main/resources/templates/music.html b/src/main/resources/templates/music.html index c803290..2a6dbb0 100644 --- a/src/main/resources/templates/music.html +++ b/src/main/resources/templates/music.html @@ -26,6 +26,12 @@ width: 80%; } } + @media only screen and (min-width: 993px) { + #playlist_list { + max-height: 74vh; + overflow-y: scroll; + } + } #modalAdd { height: 85% !important; @@ -47,6 +53,20 @@ padding-right: 75px; } + .scroll4::-webkit-scrollbar { + width: 10px; + } + + .scroll4::-webkit-scrollbar-thumb { + background: #666; + border-radius: 20px; + } + + .scroll4::-webkit-scrollbar-track { + background: #ddd; + border-radius: 20px; + } + @@ -158,7 +178,7 @@ - @@ -271,7 +291,7 @@ -