diff options
Diffstat (limited to 'app/views/search')
-rw-r--r-- | app/views/search/results/_empty.html.haml | 2 | ||||
-rw-r--r-- | app/views/search/results/_note.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/search/results/_empty.html.haml b/app/views/search/results/_empty.html.haml index 0462c29f5c1..2c9ffe3dc1d 100644 --- a/app/views/search/results/_empty.html.haml +++ b/app/views/search/results/_empty.html.haml @@ -1,4 +1,4 @@ -.search_box.gl-my-8 +.search_box.gl-my-8.gl-text-center .search_glyph %h4 = sprite_icon('search', size: 24, css_class: 'gl-vertical-align-text-bottom') diff --git a/app/views/search/results/_note.html.haml b/app/views/search/results/_note.html.haml index d88b7b32ed6..8d5d8670b5c 100644 --- a/app/views/search/results/_note.html.haml +++ b/app/views/search/results/_note.html.haml @@ -27,4 +27,4 @@ .note-search-result .term - = search_md_sanitize(note.note) + = simple_search_highlight_and_truncate(note.note, @search_term) |