Commit 2f5ad06e by Tom Giannattasio

smoother comment form expansion

parent 5caa989e
......@@ -36,14 +36,20 @@ if Backbone?
hideEditorChrome: ->
@$('.wmd-button-row').hide()
@$('.wmd-preview').hide()
@$('.wmd-input').css(height: '50px')
@$('.wmd-input').css({
height: '35px',
padding: '0'
})
@$('.comment-post-control').hide()
showEditorChrome: ->
@$('.wmd-button-row').show()
@$('.wmd-preview').show()
@$('.comment-post-control').show()
@$('.wmd-input').css(height: '125px')
@$('.wmd-input').css({
height: '125px',
padding: '10px'
})
renderComments: ->
comments = new Comments()
......
......@@ -1538,6 +1538,10 @@ body.discussion {
.comment-form {
padding: 8px 20px;
.wmd-input {
@include transition(all .2s);
}
.wmd-button {
background: transparent;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment