mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-28 20:58:17 +00:00
position the markdown toc on the right for larger screens
This commit is contained in:
parent
ded32a682a
commit
33b322e9b5
1 changed files with 19 additions and 0 deletions
|
|
@ -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%;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue