From f3c74113fd92cd0e03471ca0a0b128c0486ffab1 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 a85f1cdc..e3bb304e 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 97013ad8..342d9241 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 3e7c0df1..0649ab8c 100644 --- a/docs/_docs/18-history.md +++ b/docs/_docs/18-history.md @@ -20,6 +20,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