Commit e6b39c3b authored by fred's avatar fred

misc: use display: flex to stick footer at the bottom

parent d3c22e0d
......@@ -697,8 +697,13 @@ h1.top#frequence {
/**** #Changing #Footer ... ****/
/****************************************************/
#Changing{
display: flex;
flex-direction: column;
min-height: 97vh;
}
#Main{
flex-grow: 1;
color:#333;
background-color: white;
}
......
......@@ -40,7 +40,6 @@ $(function() {
$('.newsRoll').tooltip(tooltip_options);
$('#metaNav').tooltip(tooltip_options);
$('body').css({'min-height':$(window).height() + $('#Commons').height()});
/****************************************************/
/**** AJAX UTILITIES FOR REQUESTS ****/
/****************************************************/
......@@ -87,7 +86,6 @@ $(function() {
var bodyID = html.match(/<body id="(.*?)">/);
if(bodyID){$('body').attr('id',bodyID[1].trim());}
}
$("#Changing").css({'min-height':$(window).height()});
$.scrollTo('#Changing',1000,{offset:-$('#metaNav').height()+2});
init();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment