diff --git a/docs/_includes/topnav.html b/docs/_includes/topnav.html index 7aed3e21..b126c482 100644 --- a/docs/_includes/topnav.html +++ b/docs/_includes/topnav.html @@ -45,7 +45,14 @@ {%- if folder.url.size>1 and page.url != folder.url and page.url contains folder.url and page.url != '/installation.html' %} header__menu--item_active{% endif %} {%- if folder.url.size<2 and page.url.size<2 %} header__menu--item_active{% endif %} + {%- comment -%} {%- if folder.title == 'Документация' or folder.title == 'Documentation' %} header__menu--item_active{% endif %}"> + {%- endcomment -%} + {%- if (folder.title == 'Документация' or folder.title == 'Documentation') %} + {%- if page.url contains 'documentation' %} + header__menu--item_active + {% endif %} + {% endif %}"> {% capture folder_url %} {%- if folder.external_url -%} {{- folder.external_url -}} diff --git a/docs/css/components/_header.scss b/docs/css/components/_header.scss index e78016f8..889e81b3 100644 --- a/docs/css/components/_header.scss +++ b/docs/css/components/_header.scss @@ -51,6 +51,10 @@ display: none; } + &:last-child { + padding-right: 0; + } + @include tablets { padding-bottom: 30px;