summaryrefslogtreecommitdiff
path: root/app/views/projects/snippets
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-06-23 10:45:08 +0000
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-06-23 10:45:08 +0000
commit9fca7b437930a5fa88ec1ae7acd41a7a9a3f18bb (patch)
tree78d9c1b19b9dd664eedb436dc5384f18e2ff2ba5 /app/views/projects/snippets
parent473668b435600c32e8307f9ba3b6367cceda2def (diff)
downloadgitlab-ce-9fca7b437930a5fa88ec1ae7acd41a7a9a3f18bb.tar.gz
Limit the width of commit & snippet comment sections
Diffstat (limited to 'app/views/projects/snippets')
-rw-r--r--app/views/projects/snippets/show.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/snippets/show.html.haml b/app/views/projects/snippets/show.html.haml
index 847f3c2f348..d8e448dd2af 100644
--- a/app/views/projects/snippets/show.html.haml
+++ b/app/views/projects/snippets/show.html.haml
@@ -1,3 +1,4 @@
+- @content_class = "limit-container-width limited-inner-width-container" unless fluid_layout
- page_title "#{@snippet.title} (#{@snippet.to_reference})", "Snippets"
= render 'shared/snippets/header'
@@ -9,4 +10,4 @@
.row-content-block.top-block.content-component-block
= render 'award_emoji/awards_block', awardable: @snippet, inline: true
- #notes= render "shared/notes/notes_with_form", :autocomplete => true
+ #notes.limited-width-notes= render "shared/notes/notes_with_form", :autocomplete => true