From 226da39e593f716a04dfea8b3d6f407810c8af34 Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Sat, 19 Apr 2014 13:01:37 +0100 Subject: [PATCH] Fix CSS for queue and library. --- assets/stylesheets/library.css.sass | 4 +++- assets/stylesheets/queue.css.sass | 8 +++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/assets/stylesheets/library.css.sass b/assets/stylesheets/library.css.sass index 2cee8cd..097218a 100644 --- a/assets/stylesheets/library.css.sass +++ b/assets/stylesheets/library.css.sass @@ -1,12 +1,12 @@ #library background: white position: absolute - padding: 2.5rem 0 0 top: 100% bottom: 0 left: 0 right: 0 z-index: 2 + overflow: auto @include transition(top 0.35s ease-in-out) header top: 100% @@ -33,10 +33,12 @@ top: 0 ul.root, ol.artists, ol.albums @extend .list + padding: 2.5rem 0 0 li cursor: pointer ol.songs @extend .song-list + padding: 2.5rem 0 0 li cursor: pointer div diff --git a/assets/stylesheets/queue.css.sass b/assets/stylesheets/queue.css.sass index 773f546..2bffec4 100644 --- a/assets/stylesheets/queue.css.sass +++ b/assets/stylesheets/queue.css.sass @@ -1,5 +1,10 @@ #queue - padding: 2.5rem 0 5.625em + overflow: auto + position: absolute + top: 0 + left: 0 + bottom: 0 + right: 0 header z-index: 1 @extend .header @@ -10,6 +15,7 @@ @include button ol @extend .song-list + padding: 2.5rem 0 5.625em li cursor: pointer li.playing