Skip to content

Commit 7d9f90f

Browse files
committed
Fix breadcrumb navigation alignment
Fixes mmistakes#1917
1 parent eedf16b commit 7d9f90f

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
### Bug Fixes
1717

18+
- Fix breadcrumb navigation alignment. [#1917](https://github.com/mmistakes/minimal-mistakes/issues/1917)
1819
- Fix Algolia search link positioning. [#1904](https://github.com/mmistakes/minimal-mistakes/pull/1904)
1920
- Fix Lunr search index merging words. [#1883](https://github.com/mmistakes/minimal-mistakes/issues/1883)
2021
- Properly apply `relative_url` filter to internal links in header overlay `actions` array.

_sass/minimal-mistakes/_navigation.scss

+4-9
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,14 @@
1010
@include clearfix;
1111
margin: 0 auto;
1212
max-width: 100%;
13-
padding-left: 2em;
14-
padding-right: 2em;
13+
padding-left: 1em;
14+
padding-right: 1em;
1515
font-family: $sans-serif;
1616
-webkit-animation: $intro-transition;
1717
animation: $intro-transition;
1818
-webkit-animation-delay: 0.3s;
1919
animation-delay: 0.3s;
2020

21-
@include breakpoint($large) {
22-
padding-left: 1em;
23-
padding-right: 1em;
24-
}
25-
2621
@include breakpoint($x-large) {
2722
max-width: $x-large;
2823
}
@@ -34,11 +29,11 @@
3429

3530
@include breakpoint($large) {
3631
float: right;
37-
width: span(10 of 12);
32+
width: calc(100% - #{$right-sidebar-width-narrow});
3833
}
3934

4035
@include breakpoint($x-large) {
41-
padding-left: gutter(0.5 of 12);
36+
width: calc(100% - #{$right-sidebar-width});
4237
}
4338
}
4439

docs/_docs/18-history.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ permalink: /docs/history/
44
excerpt: "Change log of enhancements and bug fixes made to the theme."
55
sidebar:
66
nav: docs
7-
last_modified_at: 2018-10-23T10:38:36-04:00
7+
last_modified_at: 2018-10-29T08:54:43-04:00
88
toc: true
99
---
1010

@@ -25,6 +25,7 @@ toc: true
2525

2626
### Bug Fixes
2727

28+
- Fix breadcrumb navigation alignment. [#1917](https://github.com/mmistakes/minimal-mistakes/issues/1917)
2829
- Fix Algolia search link positioning. [#1904](https://github.com/mmistakes/minimal-mistakes/pull/1904)
2930
- Fix Lunr search index merging words. [#1883](https://github.com/mmistakes/minimal-mistakes/issues/1883)
3031
- Properly apply `relative_url` filter to internal links in header overlay `actions` array.

0 commit comments

Comments
 (0)