From 1b0c43cacf4309990d3ada4ffaa2e728656e1981 Mon Sep 17 00:00:00 2001 From: kasperrt Date: Wed, 31 Dec 2014 01:40:18 +0100 Subject: [PATCH] Vertically aligned the loading gif --- js/list.js | 4 ++-- static/style.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/list.js b/js/list.js index f75de410..12e63d03 100755 --- a/js/list.js +++ b/js/list.js @@ -33,7 +33,7 @@ function updateList() setTimeout(function() { - $("#wrapper").empty(); + //$("#wrapper").empty(); $.each(list.songs, function(j, listeID){ @@ -51,7 +51,7 @@ function updateList() delsong+ ""+ ""; - $("#wrapper").append(finalhtml); + //$("#wrapper").append(finalhtml); }); if($("#playlist").height() != $("#player").height()) { diff --git a/static/style.css b/static/style.css index 05fccfdd..2c987d3a 100755 --- a/static/style.css +++ b/static/style.css @@ -155,7 +155,7 @@ input[type="radio"]{display: none;} .bigchan{font-size:150px;} #channels{font-size:60px;width:99%;} .channel{font-size:40px;} - #loading{display:initial;display: table-cell;vertical-align: bottom;width: 50%;position: absolute;left:25%} + #loading{display:initial;display: table-cell;vertical-align: bottom;width: 50%;position: absolute;/*left:25%;*/top: 50%;left: 50%;transform: translate(-50%, -50%);} }