Merge pull request #4823 from Flaburgan/fix-avatar-mobile-notification
Fix avatar position in mobile notification
This commit is contained in:
commit
f12546bb78
2 changed files with 4 additions and 5 deletions
|
|
@ -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; }; }
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue