summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/pages/events.scss2
-rw-r--r--app/helpers/events_helper.rb2
2 files changed, 1 insertions, 3 deletions
diff --git a/app/assets/stylesheets/pages/events.scss b/app/assets/stylesheets/pages/events.scss
index 693a0cff558..452f67cd299 100644
--- a/app/assets/stylesheets/pages/events.scss
+++ b/app/assets/stylesheets/pages/events.scss
@@ -53,8 +53,6 @@
margin-bottom: 8px;
.author_name {
- margin-right: 4px;
-
a {
color: $gl-text-color;
font-weight: $gl-font-weight-bold;
diff --git a/app/helpers/events_helper.rb b/app/helpers/events_helper.rb
index ab556938d8c..d3b88e76c2a 100644
--- a/app/helpers/events_helper.rb
+++ b/app/helpers/events_helper.rb
@@ -212,7 +212,7 @@ module EventsHelper
output = []
output << content_tag(:span, link_to_author(event), class: "author_name")
- output << content_tag(:span, event.author.to_reference, class: "username")
+ output << "&nbsp;#{content_tag(:span, event.author.to_reference, class: "username")}".html_safe
content_tag(:div, class: "event-user-info") do
output.join.html_safe