themes MDL-24895 Fixed phantom scroll bar bug that was occurring on OSX Firefox,...
authorSam Hemelryk <sam@moodle.com>
Fri, 5 Nov 2010 06:37:06 +0000 (06:37 +0000)
committerSam Hemelryk <sam@moodle.com>
Fri, 5 Nov 2010 06:37:06 +0000 (06:37 +0000)
theme/base/style/core.css

index 1cbd854..ba092c0 100644 (file)
@@ -98,7 +98,8 @@ form.popupform,
 form.popupform div {display: inline;}
 .arrow_button input {overflow:hidden;}
 
-.no-overflow {overflow:auto;}
+/** The 1-pixel padding is there to avoid phantom scroll bars on OS X (FF, Safari and Chrome)**/
+.no-overflow {overflow:auto;padding-bottom:1px;}
 .pagelayout-report .no-overflow {overflow:visible;}
 .no-overflow > .generaltable {margin-bottom:0;}
 .ie6 .no-overflow {width:100%;}