themes MDL-22108 Removed horizontal scroll bars from navigation and settings blocks...
authorSam Hemelryk <sam@moodle.com>
Mon, 19 Apr 2010 01:39:05 +0000 (01:39 +0000)
committerSam Hemelryk <sam@moodle.com>
Mon, 19 Apr 2010 01:39:05 +0000 (01:39 +0000)
blocks/global_navigation_tree/styles.css
blocks/settings_navigation_tree/styles.css
theme/base/style/core.css

index 066e25f..5459cd1 100644 (file)
@@ -7,7 +7,7 @@
 .block_global_navigation_tree .block_tree {margin:5px;padding-left:0px;overflow-x:auto;overflow-y:visible;}
 .block_global_navigation_tree .block_tree li {margin:0;list-style: none;}
 .block_global_navigation_tree .block_tree li ul {padding-left:16px;margin:0;}
-.block_global_navigation_tree .block_tree .tree_item {white-space:nowrap;margin:2px 0px;padding-left: 16px;margin:3px 0px;white-space:nowrap;text-align:left;}
+.block_global_navigation_tree .block_tree .tree_item {padding-left: 16px;margin:3px 0px;text-align:left;}
 .block_global_navigation_tree .block_tree .tree_item.branch {background-image: url([[pix:t/expanded]]);background-position: center left;background-repeat: no-repeat;}
 .block_global_navigation_tree .block_tree .root_node.leaf {padding-left:0px;}
 .block_global_navigation_tree .block_tree .current_branch {font-weight:bold;}
index ab56a3b..41b1195 100644 (file)
@@ -4,10 +4,10 @@
 .jsenabled .block_settings_navigation_tree .block_tree_box .requiresjs {display:inline;}
 
 /** General display rules **/
-.block_settings_navigation_tree .block_tree {margin:5px;padding-left:0px;overflow-x:auto;overflow-y:visible;}
+.block_settings_navigation_tree .block_tree {margin:5px;padding-left:0px;overflow:visible;}
 .block_settings_navigation_tree .block_tree li {margin:0;list-style: none;}
 .block_settings_navigation_tree .block_tree li ul {padding-left:16px;margin:0;}
-.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;}
+.block_settings_navigation_tree .block_tree .tree_item {padding-left: 16px;margin:3px 0px;text-align:left;}
 .block_settings_navigation_tree .block_tree .tree_item.branch {background-image: url([[pix:t/expanded]]);background-position: center left;background-repeat: no-repeat;}
 .block_settings_navigation_tree .block_tree .root_node.leaf {padding-left:0px;}
 .block_settings_navigation_tree .block_tree .current_branch {font-weight:bold;}
index 5b6d846..f62bcf2 100644 (file)
@@ -215,7 +215,6 @@ a.skip:active {position: static;display: block;}
 /**
  * Navigation
  */
-.block_js_expansion .block_tree {overflow-x:scroll;}
 .block_js_expansion.mouseover .content {width:200%;z-index:1000;position:relative;}
 .block_js_expansion.mouseover .content .block_tree {width:100%;background-color:#fcfcfc;padding-bottom:0;}
 .ie6 .block_js_expansion.mouseover .content,