Commit 34fca29d authored by Joshua Tauberer's avatar Joshua Tauberer

fix the animated scroll target on the ssl panel to scroll so that the header...

fix the animated scroll target on the ssl panel to scroll so that the header is actually visible and not covered by the nav bar
parent b75fbf22
...@@ -83,7 +83,7 @@ function ssl_install(elem) { ...@@ -83,7 +83,7 @@ function ssl_install(elem) {
$('#csr_info').slideDown(); $('#csr_info').slideDown();
$('#ssl_csr').text('Loading...'); $('#ssl_csr').text('Loading...');
show_csr(); show_csr();
$('html, body').animate({ scrollTop: $('#ssl_install_header').offset().top }) $('html, body').animate({ scrollTop: $('#ssl_install_header').offset().top - $('.navbar-fixed-top').height() - 20 })
return false; return false;
} }
......
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