Commit ad947bc70591ea2453a1db9fd248284e369f8695
Committed by
Dmitriy Zaporozhets
1 parent
7f57fe50
Exists in
master
and in
4 other branches
Fix missing div container for nice css styling
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
app/views/search/_result.html.haml
@@ -38,6 +38,7 @@ | @@ -38,6 +38,7 @@ | ||
38 | = link_to project_blob_path(snippet.project, tree_join(snippet.tree, snippet.filename), :anchor => "L" + snippet.startline.to_s) do | 38 | = link_to project_blob_path(snippet.project, tree_join(snippet.tree, snippet.filename), :anchor => "L" + snippet.startline.to_s) do |
39 | %strong.term | 39 | %strong.term |
40 | = snippet.filename | 40 | = snippet.filename |
41 | + .file_holder | ||
41 | .file_content.code | 42 | .file_content.code |
42 | %div{class: user_color_scheme_class} | 43 | %div{class: user_color_scheme_class} |
43 | = raw snippet.colorize( formatter: :gitlab, options: { first_line_number: snippet.startline } ) | 44 | = raw snippet.colorize( formatter: :gitlab, options: { first_line_number: snippet.startline } ) |