From a2255d03e18c9b4662f2f388c9919dae33489a2e Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Fri, 2 Aug 2019 12:31:54 -0400 Subject: [PATCH] Fix overlapping links in post link type Close #2222 --- CHANGELOG.md | 4 ++++ _sass/minimal-mistakes/_archive.scss | 9 +++++++++ docs/_docs/18-history.md | 6 +++++- 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c21a25f60928..45a7985f109a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ - Allow Markdown in author bio. [#2215](https://github.com/mmistakes/minimal-mistakes/pull/2215) +### Bug Fixes + +- Fix overlapping links (linked to and post's permalink) in post link type. [#2222](https://github.com/mmistakes/minimal-mistakes/issues/2222) + ## [4.16.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.16.5) ### Enhancements diff --git a/_sass/minimal-mistakes/_archive.scss b/_sass/minimal-mistakes/_archive.scss index 7d06904500de..09472651ceeb 100644 --- a/_sass/minimal-mistakes/_archive.scss +++ b/_sass/minimal-mistakes/_archive.scss @@ -20,6 +20,15 @@ .archive__item { position: relative; + + a { + position: relative; + z-index: 10; + } + + a[rel="permalink"] { + position: static; + } } .archive__subtitle { diff --git a/docs/_docs/18-history.md b/docs/_docs/18-history.md index d1dccf4c6138..b5f62406db26 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-07-24T10:09:19-04:00 +last_modified_at: 2019-08-02T12:31:31-04:00 toc: false --- @@ -15,6 +15,10 @@ toc: false - Allow Markdown in author bio. [#2215](https://github.com/mmistakes/minimal-mistakes/pull/2215) +### Bug Fixes + +- Fix overlapping links (linked to and post's permalink) in post link type. [#2222](https://github.com/mmistakes/minimal-mistakes/issues/2222) + ## [4.16.5](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.16.5) ### Enhancements