diff --git a/docs/_config.yml b/docs/_config.yml index 6b6afb1..81434ae 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -14,7 +14,7 @@ doks: image: true nav: - item_name: Documentation - item_url: / + item_url: https://icons8.com/docs - item_name: Plugins item_url: https://icons8.com/app/figma external_url: true diff --git a/docs/doks-theme/_sass/objects/_content.scss b/docs/doks-theme/_sass/objects/_content.scss index a2266c8..5039376 100644 --- a/docs/doks-theme/_sass/objects/_content.scss +++ b/docs/doks-theme/_sass/objects/_content.scss @@ -8,10 +8,10 @@ margin-top: 0; } &__desc { - margin-bottom: 60px; - @media (min-width: $screen-md-min) { - margin-bottom: 80px; - } + margin-bottom: 40px; + // @media (min-width: $screen-md-min) { + // margin-bottom: 80px; + // } } video, img, embed { // border: 1px solid rgba(0,0,0,0.1); diff --git a/docs/doks-theme/assets/js/scripts.js b/docs/doks-theme/assets/js/scripts.js index a2b7d77..f4e0bc4 100644 --- a/docs/doks-theme/assets/js/scripts.js +++ b/docs/doks-theme/assets/js/scripts.js @@ -175,7 +175,7 @@ headings = reduceLevels( headings ); generateList( headings, true ).appendTo( '.js-sections' ); - var ghButtonHtml = "Suggest Edits"; + var ghButtonHtml = "Suggest Edits"; var ghButton = $.parseHTML(ghButtonHtml); $('.js-sections').append(ghButton); } @@ -394,7 +394,7 @@ function getCurrentNavLink() { for (let index = 0; index < array.length; index++) { const element = array[index]; - if (element.href == document.location.toString().split("/#")[0] || element.href + "/" == document.location) { + if (element.href == document.location.toString().split("/#")[0] || element.href == document.location.toString().split("/#")[0] + "/" || element.href + "/" == document.location) { return element } }