mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
finesse the docs layout
This commit is contained in:
parent
3c838067a6
commit
f6b7c38c9b
@ -6,7 +6,7 @@
|
||||
|
||||
.bd-content {
|
||||
@include media-breakpoint-up(xl) {
|
||||
max-width: calc(100% - 320px);
|
||||
flex: 1;
|
||||
padding-right: 20%;
|
||||
|
||||
#contents {
|
||||
@ -99,7 +99,7 @@
|
||||
margin-bottom: .25rem;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(sm) {
|
||||
@include media-breakpoint-up(lg) {
|
||||
> ul,
|
||||
> ol,
|
||||
> p {
|
||||
|
@ -11,10 +11,13 @@
|
||||
@include media-breakpoint-up(md) {
|
||||
position: sticky;
|
||||
top: 4rem;
|
||||
max-width: 320px;
|
||||
max-height: calc(100vh - 4rem);
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(xl) {
|
||||
max-width: 320px;
|
||||
}
|
||||
}
|
||||
|
||||
.bd-links {
|
||||
|
Loading…
Reference in New Issue
Block a user