summaryrefslogtreecommitdiff
path: root/app/views/projects/_md_preview.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-02-13 14:14:27 +0100
committerDouwe Maan <douwe@gitlab.com>2015-02-17 17:58:08 +0100
commit080449f8af56e1aa0d80c921d0bc6ea4a61f1c38 (patch)
tree5dca4caab2ce265abd6062d97e6b269a3523290c /app/views/projects/_md_preview.html.haml
parent529188e4788991961796b1b6131389072ee61efb (diff)
downloadgitlab-ce-080449f8af56e1aa0d80c921d0bc6ea4a61f1c38.tar.gz
Make sure Markdown previews always use the same styling as the eventual destination.
Diffstat (limited to 'app/views/projects/_md_preview.html.haml')
-rw-r--r--app/views/projects/_md_preview.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/_md_preview.html.haml b/app/views/projects/_md_preview.html.haml
index cb75149434f..d7d5c8a3401 100644
--- a/app/views/projects/_md_preview.html.haml
+++ b/app/views/projects/_md_preview.html.haml
@@ -10,4 +10,4 @@
.md-write-holder
= yield
.md-preview-holder.hide
- .js-md-preview
+ .js-md-preview{class: (preview_class if defined?(preview_class))}