From d5d1473cedce9687d0a5441870c39c28ddccdeb1 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 25 Jun 2014 10:39:55 +1000 Subject: [PATCH] BUGFIX: better seperation of action from act too. Also create spans for styling. --- .../discourse/components/discourse-action-history.js.es6 | 2 +- app/assets/stylesheets/common/base/topic-post.scss | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/components/discourse-action-history.js.es6 b/app/assets/javascripts/discourse/components/discourse-action-history.js.es6 index 002df8d67..0f751664d 100644 --- a/app/assets/javascripts/discourse/components/discourse-action-history.js.es6 +++ b/app/assets/javascripts/discourse/components/discourse-action-history.js.es6 @@ -24,7 +24,7 @@ export default Em.Component.extend({ var renderActionIf = function(property, dataAttribute, text) { if (!c.get(property)) { return; } - buffer.push(" " + text + "."); + buffer.push(" " + text + "."); }; // TODO multi line expansion for flags diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss index bb5295071..7d5aad067 100644 --- a/app/assets/stylesheets/common/base/topic-post.scss +++ b/app/assets/stylesheets/common/base/topic-post.scss @@ -32,4 +32,10 @@ .contents .cooked { word-wrap: break-word; -} \ No newline at end of file +} + +.post-action { + .undo-action, .act-action{ + margin-left: 5px; + } +}