mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-15 10:05:40 +02:00
Fix overlap sidebar for Tablets and up in docs
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user