From 8873435dc20d7bb7cb686ff4b9d43affff337076 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 12 Mar 2015 22:39:46 +0100 Subject: [PATCH] Scroll if height > 600 instead of 700 --- public/css/toc-scroll.css | 2 +- public/css/toc-scroll.min.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/css/toc-scroll.css b/public/css/toc-scroll.css index c2561ba..635e73a 100644 --- a/public/css/toc-scroll.css +++ b/public/css/toc-scroll.css @@ -39,7 +39,7 @@ .toc .toc-link-6 { padding-left: 125px; } -@media screen and (min-width: 992px) and (min-height: 700px) { +@media screen and (min-width: 992px) and (min-height: 600px) { .toc.affix { position: fixed; } .toc .nav > .active > ul { diff --git a/public/css/toc-scroll.min.css b/public/css/toc-scroll.min.css index 3eb3423..b910c1f 100644 --- a/public/css/toc-scroll.min.css +++ b/public/css/toc-scroll.min.css @@ -9,4 +9,4 @@ */ -.toc{border:1px solid #ddd;border-radius:4px}.toc.affix{position:static}.toc .nav>.active>a,.toc .nav>.active:hover>a,.toc .nav>.active :focus>a{border-right:2px solid #428bca}.toc .nav .nav{display:block;margin-bottom:8px}.toc .nav .nav>li>a{font-size:90%}.toc .toc-heading{color:#333;background-color:#f5f5f5;border-bottom:1px solid #ddd}.toc .toc-link-2{padding-left:25px}.toc .toc-link-3{padding-left:50px}.toc .toc-link-4{padding-left:75px}.toc .toc-link-5{padding-left:100px}.toc .toc-link-6{padding-left:125px}@media screen and (min-width:992px) and (min-height:700px){.toc.affix{position:fixed}.toc .nav>.active>ul{display:block}}.toc .nav .nav{display:none} \ No newline at end of file +.toc{border:1px solid #ddd;border-radius:4px}.toc.affix{position:static}.toc .nav>.active>a,.toc .nav>.active:hover>a,.toc .nav>.active :focus>a{border-right:2px solid #428bca}.toc .nav .nav{display:block;margin-bottom:8px}.toc .nav .nav>li>a{font-size:90%}.toc .toc-heading{color:#333;background-color:#f5f5f5;border-bottom:1px solid #ddd}.toc .toc-link-2{padding-left:25px}.toc .toc-link-3{padding-left:50px}.toc .toc-link-4{padding-left:75px}.toc .toc-link-5{padding-left:100px}.toc .toc-link-6{padding-left:125px}@media screen and (min-width:992px) and (min-height:600px){.toc.affix{position:fixed}.toc .nav>.active>ul{display:block}}.toc .nav .nav{display:none}