mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-28 07:39:57 +02:00
position the markdown toc on the right for larger screens
This commit is contained in:
@@ -5,6 +5,25 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
.bd-content {
|
.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 {
|
> table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
Reference in New Issue
Block a user