Permalink
Browse files

Giving .textual-content the proper height so that it scrolls.

  • Loading branch information...
1 parent 2bf443e commit 029b4bc9381844c52cc41d333035081c23186dc6 @reinout reinout committed Aug 17, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −1 lizard_ui/static/lizard_ui/lizardui.coffee
  2. +1 −0 lizard_ui/static/lizard_ui/lizardui.js
@@ -109,6 +109,7 @@ hideSecondarySidebar = ->
setUpMapDimensions = ->
contentHeight = $("div#content").height()
+ $("div#content > .textual-content").outerHeight(contentHeight)
contentWidth = $("div#content").width()
# Restrict the sidebar-inners.
$(".sidebar-inner").height contentHeight
@@ -205,7 +206,7 @@ $(document).ready ->
$('#modal-login-form-username').focus()
$('#modal-login-form-username').focus()
false
-
+
$('#modal-login-form').submit (e) ->
e.preventDefault()
handleLogin()
@@ -104,6 +104,7 @@
setUpMapDimensions = function() {
var alreadySized, bottom, contentHeight, contentWidth, element, heightPerItem, items, remainingHeight;
contentHeight = $("div#content").height();
+ $("div#content > .textual-content").outerHeight(contentHeight);
contentWidth = $("div#content").width();
$(".sidebar-inner").height(contentHeight);
alreadySized = $("#content .i-have-height");

0 comments on commit 029b4bc

Please sign in to comment.