Skip to content
Browse files

Fixed table browser overlap bug in IE8. Closes #123.

  • Loading branch information...
1 parent 9a820af commit e6c414f623e1afc7fb2e973a36cfb41735ac080f cgroskopf committed Jun 13, 2011
View
3 censusweb/api/templates/base.html
@@ -13,6 +13,9 @@
<script src="{{ MEDIA_URL }}js/backbone-0.3.3.min.js"></script>
<script src="{{ MEDIA_URL }}js/jquery.cookie.js"></script>
<script src="{{ MEDIA_URL }}js/jquery.tree.js"></script>
+ <!--[if lt IE 9]>
+ <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
<script type="text/javascript">
window.DATASET = "{{ settings.DATASET }}";
window.API_URL = "{{ settings.API_URL }}";
View
6 censusweb/media/css/census.css
@@ -71,7 +71,7 @@ h1 {
}
header {
- padding: 30px 50px 25px;
+ padding: 0px 50px 25px;
border-bottom: 1px solid #efefef;
}
@@ -80,7 +80,8 @@ aside {
padding:15px;
width:300px;
display:none;
- position:relative;
+ position:absolute;
+ top:89px;
height:550px;
overflow:auto;
background-color:#E9F6FE;
@@ -121,6 +122,7 @@ aside label {
}
#logo {
+ margin-top: 30px;
}
nav {
View
2 censusweb/media/js/browser.js
@@ -86,7 +86,7 @@ $(function(){
$("#browser").scrollFollow();
var resize_function = function() {
- $("#browser").height($(window).height() - 120);
+ $("#browser").height($(window).height() - 89);
}
resize_function();
View
3 censusweb/media/js/data.js
@@ -107,7 +107,8 @@ $(function(){
});
_.each(window.tables, function(table) {
- $('#reports').append($('<div id="report-wrapper-' + table + '"></div>'));
+ var elem = $('<div id="report-wrapper-' + table + '"></div>');
+ $('#reports').append(elem);
});
geographies = new Array();

0 comments on commit e6c414f

Please sign in to comment.
Something went wrong with that request. Please try again.