The scrollbars are being created inside the sideblock stylesheets where they appear.
Specifically:
- /moodle/blocks/settings_navigation_tree/styles.
css
- /moodle/blocks/global_navigation_tree/styles.css
These two blocks have nearly identical CSS.
To fix, this:
.block_settings_navigation_tree .block_tree {margin:5px;padding-left:0px;overflow-x:auto;overflow-y:visible;}
becomes:
.block_settings_navigation_tree .block_tree {margin:5px;padding-left:0px;overflow:visible;}
And, this:
.block_settings_navigation_tree .block_tree .tree_item {white-space:nowrap;margin:2px 0px;padding-left: 16px;margin:3px 0px;white-space:nowrap;text-align:left;}
becomes:
.block_settings_navigation_tree .block_tree .tree_item {margin:2px 0px;padding-left: 16px;margin:3px 0px;text-align:left;}
Then, this gets deleted:
.ie7 .block_settings_navigation_tree .block_tree {overflow-x:scroll;}
This removes the scrollbar and wraps lines that are too long.