summaryrefslogtreecommitdiff
path: root/app/views/projects/_md_preview.html.haml
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2015-12-03 15:30:10 -0200
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2015-12-03 15:30:10 -0200
commitc204aca83b0c8308080a9f53b692f509a80ddffc (patch)
tree1553366ef46f0d462908d67422e0dfb9ee4dac5d /app/views/projects/_md_preview.html.haml
parentf1bbd8119db3e494e662cd219a9882e5e17bf4bc (diff)
downloadgitlab-ce-c204aca83b0c8308080a9f53b692f509a80ddffc.tar.gz
Improve style of the warning when mentioning many people in a comment
Diffstat (limited to 'app/views/projects/_md_preview.html.haml')
-rw-r--r--app/views/projects/_md_preview.html.haml15
1 files changed, 8 insertions, 7 deletions
diff --git a/app/views/projects/_md_preview.html.haml b/app/views/projects/_md_preview.html.haml
index c4d3c9cc30a..5bdceb9523a 100644
--- a/app/views/projects/_md_preview.html.haml
+++ b/app/views/projects/_md_preview.html.haml
@@ -15,10 +15,11 @@
.js-md-preview{class: (preview_class if defined?(preview_class))}
- if defined?(referenced_users) && referenced_users
- %span.referenced-users.pull-left.hide
- = icon('exclamation-triangle')
- You are about to add
- %strong
- %span.js-referenced-users-count 0
- people
- to the discussion. Proceed with caution.
+ %div.clearfix
+ %span.referenced-users.hide
+ = icon('exclamation-triangle')
+ You are about to add
+ %strong
+ %span.js-referenced-users-count 0
+ people
+ to the discussion. Proceed with caution.