refresh broken link fixed
This commit was merged in pull request #28.
This commit is contained in:
@@ -58,7 +58,7 @@
|
|||||||
$target = jQuery(target);
|
$target = jQuery(target);
|
||||||
|
|
||||||
$('html, body').stop().animate({
|
$('html, body').stop().animate({
|
||||||
'scrollTop': $target.offset().top - 60 // - 200px (nav-height)
|
'scrollTop': $target.offset()?.top - 60 // - 200px (nav-height)
|
||||||
}, 'slow', 'easeInSine', function () {
|
}, 'slow', 'easeInSine', function () {
|
||||||
window.location.hash = '1' + target;
|
window.location.hash = '1' + target;
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
html{
|
||||||
|
scroll-behavior: smooth;
|
||||||
|
}
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
||||||
|
|||||||
Reference in New Issue
Block a user