Skip to content

Commit

Permalink
themes MDL-22108 Removed horizontal scroll bars from navigation and s…
Browse files Browse the repository at this point in the history
…ettings blocks. Thanks Patrick
  • Loading branch information
Sam Hemelryk committed Apr 19, 2010
1 parent bfe8fb8 commit f1d12a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion blocks/global_navigation_tree/styles.css
Expand Up @@ -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;}
Expand Down
4 changes: 2 additions & 2 deletions blocks/settings_navigation_tree/styles.css
Expand Up @@ -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;}
Expand Down
1 change: 0 additions & 1 deletion theme/base/style/core.css
Expand Up @@ -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,
Expand Down

0 comments on commit f1d12a2

Please sign in to comment.