Skip to content

Commit

Permalink
Merge pull request #59 from magicmarkker/master
Browse files Browse the repository at this point in the history
Password errors do strange things to the layout
  • Loading branch information
fusion94 committed Feb 8, 2013
2 parents 26da0df + 4006ad2 commit 606df32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/assets/javascripts/backbone/views/chatbox.js.coffee
Expand Up @@ -36,6 +36,8 @@ class Kandan.Views.Chatbox extends Backbone.View

activity.save({},{success: (model, response)->
$("#activity-c#{model.cid}").attr("id", "activity-#{model.get('id')}")
$scrollbox = $(event.target).parent().find(".paginated-activities")
$scrollbox.prop("scrollTop", $scrollbox.prop('scrollHeight'))
})

render: ()->
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/_base.sass
Expand Up @@ -123,7 +123,7 @@ body
.devise
padding-top: 20px

.devise p,h1,h2,
.devise p, .devise div,h1,h2,
margin-left: auto
margin-right: auto
width: 600px

0 comments on commit 606df32

Please sign in to comment.