Fix positioning of sidebar table of contents when using layout: splash

Close #1169
This commit is contained in:
Michael Rose 2017-08-09 08:28:21 -04:00
parent f372191de5
commit d59818981b
4 changed files with 35 additions and 1 deletions

View file

@ -8,6 +8,10 @@
- Increase font-size of code blocks.
- Reduce indent of nested "table of contents" links.
## Bug Fixes
- Fix positioning of sidebar table of contents when using `layout: splash`. [#1169](https://github.com/mmistakes/minimal-mistakes/issues/1169)
### Maintenance
- Fix typo `words_per_minute` typo in documentation. [#1164](https://github.com/mmistakes/minimal-mistakes/pull/1164)

View file

@ -66,6 +66,19 @@
}
}
.splash .sidebar__right {
@include breakpoint($large) {
position: relative;
float: right;
margin-right: 0;
}
@include breakpoint($x-large) {
margin-right: 0;
}
}
/*
Author profile and links
========================================================================== */

View file

@ -4,7 +4,7 @@ permalink: /docs/history/
excerpt: "Change log of enhancements and bug fixes made to the theme."
sidebar:
nav: docs
last_modified_at: 2017-08-08T15:19:23-04:00
last_modified_at: 2017-08-09T08:20:21-04:00
---
## Unreleased
@ -17,6 +17,10 @@ last_modified_at: 2017-08-08T15:19:23-04:00
- Increase font-size of code blocks.
- Reduce indent of nested "table of contents" links.
## Bug Fixes
- Fix positioning of sidebar table of contents when using `layout: splash`. [#1169](https://github.com/mmistakes/minimal-mistakes/issues/1169)
### Maintenance
- Fix typo `words_per_minute` typo in documentation. [#1164](https://github.com/mmistakes/minimal-mistakes/pull/1164)

View file

@ -66,6 +66,19 @@
}
}
.splash .sidebar__right {
@include breakpoint($large) {
position: relative;
float: right;
margin-right: 0;
}
@include breakpoint($x-large) {
margin-right: 0;
}
}
/*
Author profile and links
========================================================================== */