Skip to content
Snippets Groups Projects
Commit 060767e7 authored by danielvincent's avatar danielvincent
Browse files

comments submit on enter. design touchup

parent 108bf9d9
No related branches found
No related tags found
No related merge requests found
...@@ -47,9 +47,9 @@ $(document).ready(function(){ ...@@ -47,9 +47,9 @@ $(document).ready(function(){
} }
); );
$("#publisher textarea").keydown( function(e) { $("#publisher textarea, .comment textarea").keydown( function(e) {
if (e.keyCode == 13) { if (e.keyCode == 13) {
$("#publisher form").submit(); $(this).closest("form").submit();
} }
}); });
......
...@@ -248,7 +248,6 @@ li.message ...@@ -248,7 +248,6 @@ li.message
:background #eee :background #eee
.content .content
:max-width 610px
:margin :margin
:top -4px :top -4px
:padding :padding
...@@ -450,16 +449,13 @@ ul.comment_set ...@@ -450,16 +449,13 @@ ul.comment_set
:top 1em :top 1em
:padding 0 :padding 0
:list-style none :list-style none
:max-width 610px :background
:color rgba(10,81,109,0.05)
textarea textarea
:width 100% :width 100%
li.comment li.comment
:margin
:bottom 0.5em
:background
:color rgba(10,81,109,0.05)
:padding 0.6em :padding 0.6em
:border :border
:bottom 1px solid #ddd :bottom 1px solid #ddd
...@@ -468,8 +464,10 @@ ul.comment_set ...@@ -468,8 +464,10 @@ ul.comment_set
:color #777 :color #777
:margin :margin
:top -2px :top -2px
:bottom -2px
:padding :padding
:left 45px :left 45px
:right 20px
.from .from
a a
:color #444 :color #444
...@@ -477,7 +475,7 @@ ul.comment_set ...@@ -477,7 +475,7 @@ ul.comment_set
:size 12px :size 12px
:line :line
:height 18px :height 16px
div.time div.time
:color #bbb :color #bbb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment