diff --git a/static/aerbimCSS.css b/static/aerbimCSS.css index b231486..c123391 100644 --- a/static/aerbimCSS.css +++ b/static/aerbimCSS.css @@ -4,6 +4,7 @@ body,html{ background: #ffffff; /*font-family: 'Verdana', sans-serif;*/ font-family: -apple-system, 'Roboto', sans-serif; + scroll-behavior: smooth; /*font-family:*/ /* -apple-system,*/ /* 'Raleway-Black' ,*/ @@ -472,6 +473,7 @@ body.n_scroll{ .form_feedback_container{ margin: auto; width: 80%; + scroll-margin-top: 140px; } diff --git a/static/aerbimJS.js b/static/aerbimJS.js index 6de0a05..006a657 100644 --- a/static/aerbimJS.js +++ b/static/aerbimJS.js @@ -375,4 +375,14 @@ function changeSlideProject (el,type) { cur_slide.classList.toggle("hide") } } +} + +// go to download plugin +function redirectToDownloadPlugin () { + let lang = document.querySelector(".name_language").innerHTML + // if (!window.location.href.includes(`${window.location.origin}/${lang}/section/3d-security-designer/`)){ + // window.location.href = `${window.location.origin}/${lang}/section/3d-security-designer/#feedback_form` + // } else { + window.location.href = `${window.location.origin}/${lang}/section/3d-security-designer/#feedback_form` + // } } \ No newline at end of file diff --git a/templates/blocks/b_3d_s_d.html b/templates/blocks/b_3d_s_d.html index dff3c0a..0236056 100644 --- a/templates/blocks/b_3d_s_d.html +++ b/templates/blocks/b_3d_s_d.html @@ -16,7 +16,7 @@ {% endif %} {% if block.but1_title or block.but1_icon %} -