From 889fdd08f42f37b9c57c89700d815149116bab65 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Mon, 29 Oct 2018 08:55:05 -0400 Subject: [PATCH] Fix breadcrumb navigation alignment Fixes #1917 --- CHANGELOG.md | 1 + _sass/minimal-mistakes/_navigation.scss | 13 ++++--------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d1af84..aa00504 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ ### Bug Fixes +- Fix breadcrumb navigation alignment. [#1917](https://github.com/mmistakes/minimal-mistakes/issues/1917) - Fix Algolia search link positioning. [#1904](https://github.com/mmistakes/minimal-mistakes/pull/1904) - Fix Lunr search index merging words. [#1883](https://github.com/mmistakes/minimal-mistakes/issues/1883) - Properly apply `relative_url` filter to internal links in header overlay `actions` array. diff --git a/_sass/minimal-mistakes/_navigation.scss b/_sass/minimal-mistakes/_navigation.scss index 80d24bb..d732d0a 100644 --- a/_sass/minimal-mistakes/_navigation.scss +++ b/_sass/minimal-mistakes/_navigation.scss @@ -10,19 +10,14 @@ @include clearfix; margin: 0 auto; max-width: 100%; - padding-left: 2em; - padding-right: 2em; + padding-left: 1em; + padding-right: 1em; font-family: $sans-serif; -webkit-animation: $intro-transition; animation: $intro-transition; -webkit-animation-delay: 0.3s; animation-delay: 0.3s; - @include breakpoint($large) { - padding-left: 1em; - padding-right: 1em; - } - @include breakpoint($x-large) { max-width: $x-large; } @@ -34,11 +29,11 @@ @include breakpoint($large) { float: right; - width: span(10 of 12); + width: calc(100% - #{$right-sidebar-width-narrow}); } @include breakpoint($x-large) { - padding-left: gutter(0.5 of 12); + width: calc(100% - #{$right-sidebar-width}); } } -- 2.45.2