diff options
author | Phil Hughes <me@iamphill.com> | 2017-06-23 10:33:47 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-06-23 10:33:47 +0000 |
commit | 0b7d7df7a52a7f049ed6be3bba52a06bc051e83b (patch) | |
tree | 1eb5112b60ca2612efca5059570510a236046de6 /app/views/projects/tree/_readme.html.haml | |
parent | 6ff571aa9a30b798a58eb1b02b9360466f231c01 (diff) | |
download | gitlab-ce-0b7d7df7a52a7f049ed6be3bba52a06bc051e83b.tar.gz |
Limit the width of project READMEs
Diffstat (limited to 'app/views/projects/tree/_readme.html.haml')
-rw-r--r-- | app/views/projects/tree/_readme.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/tree/_readme.html.haml b/app/views/projects/tree/_readme.html.haml index de57cd4ba00..f9147815427 100644 --- a/app/views/projects/tree/_readme.html.haml +++ b/app/views/projects/tree/_readme.html.haml @@ -1,5 +1,5 @@ - if readme.rich_viewer - %article.file-holder.readme-holder + %article.file-holder.readme-holder{ class: ("limited-width-container" unless fluid_layout) } .js-file-title.file-title = blob_icon readme.mode, readme.name = link_to namespace_project_blob_path(@project.namespace, @project, tree_join(@ref, readme.path)) do |