From 434c30e1d68b0581efb330bb394cff428d812603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?iBug=20=E2=99=A6?= Date: Wed, 8 Apr 2020 21:15:07 +0800 Subject: [PATCH] Fix #2478 "Follow menu falls under post links" (#2479) * Fix #2478 "Follow menu falls under post links" * Do it the other way --- CHANGELOG.md | 4 ++++ _sass/minimal-mistakes/_sidebar.scss | 2 +- docs/_docs/18-history.md | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a85f1cdc7471..e3bb304e92b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,10 @@ - Clarify documentation that Lunr only searches documents in collections. [#2450](https://github.com/mmistakes/minimal-mistakes/pull/2450) - Add guide on applying Front Matter defaults to jekyll-archives pages [#2466](https://github.com/mmistakes/minimal-mistakes/pull/2466) +### Bug Fixes + +- Fix "Follow menu falls under post links" on small screens. [#2479](https://github.com/mmistakes/minimal-mistakes/issues/2479) + ## [4.19.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.19.1) ### Enhancements diff --git a/_sass/minimal-mistakes/_sidebar.scss b/_sass/minimal-mistakes/_sidebar.scss index 97013ad8bb35..342d9241f814 100644 --- a/_sass/minimal-mistakes/_sidebar.scss +++ b/_sass/minimal-mistakes/_sidebar.scss @@ -184,7 +184,7 @@ display: table-cell; vertical-align: middle; font-family: $sans-serif; - z-index: 10; + z-index: 20; position: relative; cursor: pointer; diff --git a/docs/_docs/18-history.md b/docs/_docs/18-history.md index 2588474e1b53..5aa37704173c 100644 --- a/docs/_docs/18-history.md +++ b/docs/_docs/18-history.md @@ -19,6 +19,10 @@ toc: false - Clarify documentation that Lunr only searches documents in collections. [#2450](https://github.com/mmistakes/minimal-mistakes/pull/2450) - Add guide on applying Front Matter defaults to jekyll-archives pages [#2466](https://github.com/mmistakes/minimal-mistakes/pull/2466) +### Bug Fixes + +- Fix "Follow menu falls under post links" on small screens. [#2479](https://github.com/mmistakes/minimal-mistakes/issues/2479) + ## [4.19.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.19.1) ### Enhancements