Make sticky sidebar live well with short content (#2514)
This commit is contained in:
parent
cf398b07ab
commit
a3d1d904d5
3 changed files with 14 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
## Unreleased
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Make sticky sidebar live well with short content. [#2514](https://github.com/mmistakes/minimal-mistakes/pull/2514)
|
||||||
|
|
||||||
## [4.19.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.19.2)
|
## [4.19.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.19.2)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
/* calculate height of nav list
|
/* calculate height of nav list
|
||||||
viewport height - nav height - masthead x-padding
|
viewport height - nav height - masthead x-padding
|
||||||
*/
|
*/
|
||||||
height: calc(100vh - #{$nav-height} - 2em);
|
max-height: calc(100vh - #{$nav-height} - 2em);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,16 @@ permalink: /docs/history/
|
||||||
excerpt: "Change log of enhancements and bug fixes made to the theme."
|
excerpt: "Change log of enhancements and bug fixes made to the theme."
|
||||||
sidebar:
|
sidebar:
|
||||||
nav: docs
|
nav: docs
|
||||||
last_modified_at: 2020-05-01T11:53:42-04:00
|
last_modified_at: 2020-05-02T00:54:04+08:00
|
||||||
toc: false
|
toc: false
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## Unreleased
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Make sticky sidebar live well with short content. [#2514](https://github.com/mmistakes/minimal-mistakes/pull/2514)
|
||||||
|
|
||||||
## [4.19.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.19.2)
|
## [4.19.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.19.2)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
Loading…
Reference in a new issue