Skip to content

Commit

Permalink
Fix sidebar issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Krátký committed Oct 24, 2019
1 parent e0bd780 commit 66694b7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
13 changes: 0 additions & 13 deletions src/main/_data/sidebars/rn_sidebar.yml

This file was deleted.

2 changes: 1 addition & 1 deletion src/main/css/customstyles.css
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ a.accordion-toggle, a.accordion-collapsed {
.nav {
/* padding: 4px;*/
padding:0px;
margin: 0px;
margin: 0 0 15px 0;
}

.nav > li {
Expand Down
2 changes: 1 addition & 1 deletion src/main/js/customscripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $( document ).ready(function() {
// position as your scroll. if you have a lot of nav items, this height may not work for you.
var h = $(window).height();
//console.log (h);
if (h > 800) {
if (h > 1500) {
$( "#mysidebar" ).attr("class", "nav affix");
}
// activate tooltips. although this is a bootstrap js function, it must be activated this way in your theme.
Expand Down

0 comments on commit 66694b7

Please sign in to comment.