Skip to content

Commit

Permalink
Fix positioning of sidebar table of contents when using layout: splash
Browse files Browse the repository at this point in the history
  • Loading branch information
mmistakes committed Aug 9, 2017
1 parent 9067fed commit 18633bc
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
13 changes: 13 additions & 0 deletions _sass/minimal-mistakes/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
========================================================================== */
Expand Down
6 changes: 5 additions & 1 deletion docs/_docs/18-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down
13 changes: 13 additions & 0 deletions docs/_sass/minimal-mistakes/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
========================================================================== */
Expand Down

0 comments on commit 18633bc

Please sign in to comment.