diff --git a/src/components/MiniToc/MiniToc.scss b/src/components/MiniToc/MiniToc.scss index 25d7f371..121813d4 100644 --- a/src/components/MiniToc/MiniToc.scss +++ b/src/components/MiniToc/MiniToc.scss @@ -9,6 +9,7 @@ font-weight: 500; color: var(--g-color-text-primary); margin-bottom: 12px; + margin-top: 0; } &__sections { diff --git a/src/components/MiniToc/MiniToc.tsx b/src/components/MiniToc/MiniToc.tsx index 72d97919..eaeaa8cf 100644 --- a/src/components/MiniToc/MiniToc.tsx +++ b/src/components/MiniToc/MiniToc.tsx @@ -48,8 +48,8 @@ const MiniToc = memo(({headings, router, headerHeight, onItemClick } return ( -
-
{t('title')}:
+
+ ); }); diff --git a/src/i18n/en.json b/src/i18n/en.json index 35bcbcb1..f7773a8a 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -47,6 +47,7 @@ }, "mini-toc": { "title": "In this article", + "article-navigation": "Article navigation", "description": "Current article contents" }, "toc-nav-panel": { diff --git a/src/i18n/ru.json b/src/i18n/ru.json index a2a1da5c..79756887 100644 --- a/src/i18n/ru.json +++ b/src/i18n/ru.json @@ -47,6 +47,7 @@ }, "mini-toc": { "title": "В этой статье", + "article-navigation": "Навигация по статье", "description": "Содержание текущей статьи" }, "toc-nav-panel": {