From 4cc8f1f76c34ea2cdf2b17bc62d32d85db6ce24d Mon Sep 17 00:00:00 2001
From: flaburgan <flaburgan@geexxx.fr>
Date: Mon, 3 Mar 2014 23:21:31 +0100
Subject: [PATCH] Fix avatar position in mobile notification

---
 app/assets/stylesheets/mobile/mobile.css.scss | 6 +++---
 app/views/notifications/index.mobile.haml     | 3 +--
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/app/assets/stylesheets/mobile/mobile.css.scss b/app/assets/stylesheets/mobile/mobile.css.scss
index e475bcea1f..8da30b618e 100644
--- a/app/assets/stylesheets/mobile/mobile.css.scss
+++ b/app/assets/stylesheets/mobile/mobile.css.scss
@@ -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; }; }
diff --git a/app/views/notifications/index.mobile.haml b/app/views/notifications/index.mobile.haml
index 1d334df665..cee20a7488 100644
--- a/app/views/notifications/index.mobile.haml
+++ b/app/views/notifications/index.mobile.haml
@@ -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)
-- 
GitLab