Fixed padding on bottom on mobile

This commit is contained in:
Kasper Rynning-Tønnesen
2016-04-20 12:05:49 +02:00
parent 6e18b4b3d3
commit 68f998a69e
4 changed files with 9 additions and 4 deletions

View File

@@ -1400,12 +1400,14 @@ nav ul li:hover, nav ul li.active {
.page-footer{
margin-top:40px !important;
}
.padding-bottom-novideo{
padding-bottom:40px;
}
.padding-bottom-extra{
padding-bottom:200px;
padding-bottom:210px;
}
.main, #main-row, .video-container, #playlist{

File diff suppressed because one or more lines are too long

View File

@@ -543,6 +543,8 @@ function onepage_load(){
$($(e)[59]).insertAfter("header");
$($(e)[61]).insertAfter(".mega");
$("main").html($($(e)[65]).html());
$(".page-footer").removeClass("padding-bottom-extra");
$(".page-footer").removeClass("padding-bottom-novideo");
if($("#alreadyfp").length == 1){
window.initfp();

View File

@@ -244,6 +244,7 @@ var Nochan = {
$("header").html($($(e)[57]).html());
$("main").html($($(e)[61]).html());
$("#search").attr("placeholder", "Find song on YouTube...");
$(".page-footer").addClass("padding-bottom-novideo");
if($("#alreadychannel").length == 1){
window.init();
}else{