Skip to content

Commit

Permalink
make it a bit more mobile friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
bourdakos1 committed Jan 13, 2020
1 parent 9f25b1a commit eea2e6b
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/assets/css/toc.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
top: 64px;
bottom: 0;
overflow: scroll;
transform: translate(-500px);
}

/* all links */
Expand Down Expand Up @@ -75,7 +76,7 @@
}

.wrapper-stuff .content {
margin-left: calc((100% - 782px - 256px) / 2 + 256px);
margin-left: auto;
}

/* fix linking to targets on page */
Expand All @@ -85,3 +86,13 @@
height: 100px;
margin: -100px 0 0;
}

@media (min-width: 1200px) {
.bs-docs-sidebar {
transform: translate(0px);
}

.wrapper-stuff .content {
margin-left: calc((100% - 782px - 256px) / 2 + 256px);
}
}

0 comments on commit eea2e6b

Please sign in to comment.