From 29acb2a0bf28571e8229c26a13369fde23510f83 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Wed, 3 Apr 2019 16:08:00 -0400 Subject: [PATCH] Fix table of contents active link styling --- CHANGELOG.md | 1 + _sass/minimal-mistakes/_navigation.scss | 2 +- docs/_docs/18-history.md | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 24c4b149..25f07658 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ ### Bug Fixes +- Fix table of contents active link styling. - Add missing Hindi localized UI text strings. [#2105](https://github.com/mmistakes/minimal-mistakes/pull/2105) [#2106](https://github.com/mmistakes/minimal-mistakes/pull/2106) - Fix Brazilian Portuguese text strings. [#2098](https://github.com/mmistakes/minimal-mistakes/pull/2098) - Fix typo in French `results_found` text string. [#2096](https://github.com/mmistakes/minimal-mistakes/pull/2096) diff --git a/_sass/minimal-mistakes/_navigation.scss b/_sass/minimal-mistakes/_navigation.scss index 9aae8854..ef73777c 100644 --- a/_sass/minimal-mistakes/_navigation.scss +++ b/_sass/minimal-mistakes/_navigation.scss @@ -514,7 +514,7 @@ } // Scrollspy marks toc items as .active when they are in focus - .active { + .active a { @include yiq-contrasted($active-color); } } diff --git a/docs/_docs/18-history.md b/docs/_docs/18-history.md index 55abd67c..ee77137e 100644 --- a/docs/_docs/18-history.md +++ b/docs/_docs/18-history.md @@ -5,7 +5,7 @@ permalink: /docs/history/ excerpt: "Change log of enhancements and bug fixes made to the theme." sidebar: nav: docs -last_modified_at: 2019-04-03T15:14:26-04:00 +last_modified_at: 2019-04-03T16:07:44-04:00 toc: false --- @@ -24,6 +24,7 @@ toc: false ### Bug Fixes +- Fix table of contents active link styling. - Add missing Hindi localized UI text strings. [#2105](https://github.com/mmistakes/minimal-mistakes/pull/2105) [#2106](https://github.com/mmistakes/minimal-mistakes/pull/2106) - Fix Brazilian Portuguese text strings. [#2098](https://github.com/mmistakes/minimal-mistakes/pull/2098) - Fix typo in French `results_found` text string. [#2096](https://github.com/mmistakes/minimal-mistakes/pull/2096)