Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-06-23 13:33:47 +0300
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-06-23 13:33:47 +0300
commit0b7d7df7a52a7f049ed6be3bba52a06bc051e83b (patch)
tree1eb5112b60ca2612efca5059570510a236046de6 /app/views/projects/tree
parent6ff571aa9a30b798a58eb1b02b9360466f231c01 (diff)
Limit the width of project READMEs
Diffstat (limited to 'app/views/projects/tree')
-rw-r--r--app/views/projects/tree/_readme.html.haml2
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