From 563e94b8047e83d5ab299958ddcce582a1f39116 Mon Sep 17 00:00:00 2001 From: Diaspora Europe Date: Thu, 15 Mar 2012 16:43:46 +0100 Subject: [PATCH] let date looks nice --- app/views/notifications/index.mobile.haml | 3 ++- public/stylesheets/sass/mobile.scss | 12 ++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/app/views/notifications/index.mobile.haml b/app/views/notifications/index.mobile.haml index cf1159f9d..c19d28b47 100644 --- a/app/views/notifications/index.mobile.haml +++ b/app/views/notifications/index.mobile.haml @@ -8,7 +8,8 @@ - @group_days.each do |day, notes| %li .notification_day_header - = day + %span.label + = day %ul.notifications_for_day - notes.each do |note| .stream_element{:data=>{:guid => note.id}, :class => "#{note.unread ? 'unread' : ''}"} diff --git a/public/stylesheets/sass/mobile.scss b/public/stylesheets/sass/mobile.scss index a5a54d1ba..cc3ce2919 100644 --- a/public/stylesheets/sass/mobile.scss +++ b/public/stylesheets/sass/mobile.scss @@ -601,9 +601,17 @@ select { .navbar-fixed-top { position: fixed !important; - max-height: 45px !important; min-height: 45px !important; height: 45px !important; overflow: hidden; -} \ No newline at end of file +} + +.notifications { + list-style: none; +} + +.notification_day_header { + margin-bottom: 5px; +} +