fixed stream elements

This commit is contained in:
Daniel Vincent Grippi 2010-09-15 10:17:37 -07:00
parent 1d04c89b48
commit 73dab4b3ef
5 changed files with 16 additions and 20 deletions

View file

@ -30,8 +30,10 @@
= link_to(how_long_ago(post), object_path(post))
\--
= link_to "show comments (#{post.comments.count})", '#', :class => "show_post_comments"
= render "comments/comments", :post => post
- if current_user.owns?(post)
.destroy_link
= link_to 'Delete', status_message_path(post), :confirm => 'Are you sure?', :method => :delete, :remote => true, :class => "delete"

View file

@ -156,10 +156,11 @@ li.message {
margin-right: 15px; }
li.message .delete:hover {
background: #eeeeee; }
li.message .content {
padding-left: 65px; }
li.message .content span.from {
color: black;
font-weight: normal;
margin-right: 0.2em;
font-size: 110%; }
li.message .content div.info {
color: #bababa;
@ -205,10 +206,6 @@ form {
height: 30px;
margin-right: 10px; }
#stream ul.comment_set {
padding: 0;
padding-left: 65px; }
input.comment_submit {
display: none;
margin-right: -10px; }

View file

@ -216,12 +216,13 @@ li.message
:background #eee
.content
:padding
:left 65px
span.from
:color #000
:font
:weight normal
:margin
:right 0.2em
:font
:size 110%
@ -283,10 +284,6 @@ form
:margin
:right 10px
#stream ul.comment_set
:padding 0
:left 65px
input.comment_submit
:display none
:margin

View file

@ -40,7 +40,7 @@ body
:background #fff
:margin
:left 2em
:left 100px
/* via blueprint */
input[type=text],

View file

@ -16,7 +16,7 @@ body {
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
color: #222222;
background: white;
margin-left: 2em; }
margin-left: 100px; }
/* via blueprint */
input[type=text],