Fix avatar position in mobile notification
This commit is contained in:
parent
d26ca74623
commit
4cc8f1f76c
2 changed files with 4 additions and 5 deletions
|
|
@ -47,6 +47,7 @@ h3 {
|
|||
overflow: auto;
|
||||
position: relative;
|
||||
text-align: left;
|
||||
padding: 10px 0;
|
||||
* {
|
||||
max-width: 100%; }
|
||||
min-height: 34px;
|
||||
|
|
@ -76,9 +77,8 @@ h3 {
|
|||
|
||||
> .content,
|
||||
.reshare > .content {
|
||||
padding: 10px {
|
||||
bottom: 0; }; }
|
||||
padding: 10px 0;
|
||||
padding: 5px;
|
||||
}
|
||||
.info {
|
||||
margin: {
|
||||
top: 0; }; }
|
||||
|
|
|
|||
|
|
@ -13,9 +13,8 @@
|
|||
%ul.notifications_for_day
|
||||
- notes.each do |note|
|
||||
.stream_element{:data=>{:guid => note.id}, :class => "#{note.unread ? 'unread' : 'read'}"}
|
||||
.content
|
||||
.content.from
|
||||
=person_image_link(note.actors.last)
|
||||
.from
|
||||
= notification_message_for(note)
|
||||
.time_notif
|
||||
= timeago(note.created_at)
|
||||
|
|
|
|||
Loading…
Reference in a new issue