2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

make it big screen friendly

This commit is contained in:
Mark Otto
2017-05-27 18:24:00 -07:00
parent 8627c506f7
commit 5b66579e4d
3 changed files with 10 additions and 2 deletions
+7
View File
@@ -6,6 +6,7 @@
.bd-content {
@include media-breakpoint-up(xl) {
max-width: calc(100% - 320px);
padding-right: 20%;
#contents {
@@ -24,6 +25,12 @@
}
}
@media (min-width: 2000px) {
#markdown-toc {
padding-left: 6rem;
}
}
// Hack the sticky header
h2[id],
h3[id] {
+1
View File
@@ -12,6 +12,7 @@
@include media-breakpoint-up(md) {
position: sticky;
top: 4rem;
max-width: 320px;
max-height: calc(100vh - 4rem);
overflow-y: auto;
}