mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-10 22:24:19 +01:00
Merge pull request #8268 from luishdez/hotfix/sidebar-overlap
Fix overlap sidebar for Tablets and up in docs
This commit is contained in:
commit
55120d124c
@ -713,13 +713,6 @@ input.focused {
|
|||||||
/* Tablets and up */
|
/* Tablets and up */
|
||||||
@media screen and (min-width: 768px) {
|
@media screen and (min-width: 768px) {
|
||||||
|
|
||||||
/* Reaffix the fixed sidebar */
|
|
||||||
.bs-sidebar.affix {
|
|
||||||
position: fixed; /* Undo the static from mobile-first approach */
|
|
||||||
top: 50px;
|
|
||||||
width: 160px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Back to top link */
|
/* Back to top link */
|
||||||
.bs-top {
|
.bs-top {
|
||||||
display: block; /* Unhide */
|
display: block; /* Unhide */
|
||||||
@ -781,6 +774,8 @@ input.focused {
|
|||||||
|
|
||||||
/* Widen the fixed sidebar */
|
/* Widen the fixed sidebar */
|
||||||
.bs-sidebar.affix {
|
.bs-sidebar.affix {
|
||||||
|
position: fixed; /* Undo the static from mobile-first approach */
|
||||||
|
top: 50px;
|
||||||
width: 213px;
|
width: 213px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user