You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 11, 2023. It is now read-only.
Add vertical scrollbar to sidebars that extend outside the viewport
Viewing overflowing sidebar content requires scrolling the entire page which is annoying and causes the reader to lose their place.
Use CSS `calc` to approximate height of the sidebar (`100vh` - height of the masthead) and apply `overflow-y: auto` to add vertical scrollbars when needed.
Fixesmmistakes#706
Copy file name to clipboardexpand all lines: CHANGELOG.md
+6
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,9 @@
1
+
## Unreleased
2
+
3
+
### Enhancements
4
+
5
+
- Add scrollbar to sidebars with overflowing content that extends outside the viewport's height. [#706](https://github.com/mmistakes/minimal-mistakes/issues/706)
Copy file name to clipboardexpand all lines: docs/_docs/18-history.md
+7-1
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,15 @@ permalink: /docs/history/
4
4
excerpt: "Change log of enhancements and bug fixes made to the theme."
5
5
sidebar:
6
6
nav: docs
7
-
last_modified_at: 2017-07-07T15:45:45-04:00
7
+
last_modified_at: 2017-07-12T11:57:08-04:00
8
8
---
9
9
10
+
## Unreleased
11
+
12
+
### Enhancements
13
+
14
+
- Add scrollbar to sidebars with overflowing content that extends outside the viewport's height. [#706](https://github.com/mmistakes/minimal-mistakes/issues/706)
0 commit comments