From 96f190ae251628db982bdb716d61f05b04aa7970 Mon Sep 17 00:00:00 2001 From: Adam Cooke Date: Tue, 30 May 2017 15:16:01 +0100 Subject: [PATCH] fixes style issue on error when no messages found --- app/views/messages/_index.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/messages/_index.html.haml b/app/views/messages/_index.html.haml index 36c3795..e45cbe0 100644 --- a/app/views/messages/_index.html.haml +++ b/app/views/messages/_index.html.haml @@ -3,7 +3,7 @@ = render 'search' - if @messages[:records].empty? - .noData + .noData.noData--clean %h2.noData__title No messages found matching your filter. %p.noData__text There were no messages which matched the query that you entered. Sorry about that.