Fix avatar position in mobile notification

This commit is contained in:
flaburgan 2014-03-03 23:21:31 +01:00
parent d26ca74623
commit 4cc8f1f76c
2 changed files with 4 additions and 5 deletions

View file

@ -47,6 +47,7 @@ h3 {
overflow: auto; overflow: auto;
position: relative; position: relative;
text-align: left; text-align: left;
padding: 10px 0;
* { * {
max-width: 100%; } max-width: 100%; }
min-height: 34px; min-height: 34px;
@ -76,9 +77,8 @@ h3 {
> .content, > .content,
.reshare > .content { .reshare > .content {
padding: 10px { padding: 5px;
bottom: 0; }; } }
padding: 10px 0;
.info { .info {
margin: { margin: {
top: 0; }; } top: 0; }; }

View file

@ -13,9 +13,8 @@
%ul.notifications_for_day %ul.notifications_for_day
- notes.each do |note| - notes.each do |note|
.stream_element{:data=>{:guid => note.id}, :class => "#{note.unread ? 'unread' : 'read'}"} .stream_element{:data=>{:guid => note.id}, :class => "#{note.unread ? 'unread' : 'read'}"}
.content .content.from
=person_image_link(note.actors.last) =person_image_link(note.actors.last)
.from
= notification_message_for(note) = notification_message_for(note)
.time_notif .time_notif
= timeago(note.created_at) = timeago(note.created_at)