From e1fb8200ddca314278bdcbec9417242d88d06d8e Mon Sep 17 00:00:00 2001 From: flaburgan Date: Mon, 18 Nov 2013 18:02:22 -0800 Subject: [PATCH] Move 'mark all as read' button under the title --- app/assets/stylesheets/mobile.css.scss | 1 + app/views/notifications/index.mobile.haml | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/mobile.css.scss b/app/assets/stylesheets/mobile.css.scss index 3743ec8c0..a1a1f2296 100644 --- a/app/assets/stylesheets/mobile.css.scss +++ b/app/assets/stylesheets/mobile.css.scss @@ -674,6 +674,7 @@ select { .notifications { list-style: none; margin: 0px; + clear: right; } .notifications_for_day { diff --git a/app/views/notifications/index.mobile.haml b/app/views/notifications/index.mobile.haml index fe7916705..ac046a65e 100644 --- a/app/views/notifications/index.mobile.haml +++ b/app/views/notifications/index.mobile.haml @@ -1,9 +1,9 @@ -.right - = link_to t('.mark_all_as_read'), notifications_read_all_path, :class => 'btn' - %h3 = t('.notifications') +.right + = link_to t('.mark_all_as_read'), notifications_read_all_path, :class => 'btn' + %ul.notifications - @group_days.each do |day, notes| %li