1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

position the markdown toc on the right for larger screens

This commit is contained in:
Mark Otto 2017-05-27 17:37:03 -07:00
parent ded32a682a
commit 33b322e9b5

View file

@ -5,6 +5,25 @@
//
.bd-content {
@include media-breakpoint-up(xl) {
padding-right: 20%;
#contents {
display: none;
}
#markdown-toc {
position: fixed;
top: 5rem;
right: 0;
width: 20%;
max-height: calc(100vh - 8rem);
padding-right: 1.5rem;
padding-left: 3rem;
overflow-y: auto;
font-size: .85rem;
}
}
> table {
width: 100%;
max-width: 100%;