Vertically aligned the loading gif

This commit is contained in:
kasperrt
2014-12-31 01:40:18 +01:00
parent 5fec200564
commit 1b0c43cacf
2 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ function updateList()
setTimeout(function() setTimeout(function()
{ {
$("#wrapper").empty(); //$("#wrapper").empty();
$.each(list.songs, function(j, listeID){ $.each(list.songs, function(j, listeID){
@@ -51,7 +51,7 @@ function updateList()
delsong+ delsong+
"</div>"+ "</div>"+
"</div>"; "</div>";
$("#wrapper").append(finalhtml); //$("#wrapper").append(finalhtml);
}); });
if($("#playlist").height() != $("#player").height()) if($("#playlist").height() != $("#player").height())
{ {

View File

@@ -155,7 +155,7 @@ input[type="radio"]{display: none;}
.bigchan{font-size:150px;} .bigchan{font-size:150px;}
#channels{font-size:60px;width:99%;} #channels{font-size:60px;width:99%;}
.channel{font-size:40px;} .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%);}
} }