BUGFIX: better seperation of action from act too.

Also create spans for styling.
This commit is contained in:
Sam 2014-06-25 10:39:55 +10:00
parent 9f6102e137
commit d5d1473ced
2 changed files with 8 additions and 2 deletions

View file

@ -24,7 +24,7 @@ export default Em.Component.extend({
var renderActionIf = function(property, dataAttribute, text) {
if (!c.get(property)) { return; }
buffer.push(" <a href='#' data-" + dataAttribute + "='" + c.get('id') + "'>" + text + "</a>.");
buffer.push(" <span class='action-link " + dataAttribute +"-action'><a href='#' data-" + dataAttribute + "='" + c.get('id') + "'>" + text + "</a>.</span>");
};
// TODO multi line expansion for flags

View file

@ -33,3 +33,9 @@
.contents .cooked {
word-wrap: break-word;
}
.post-action {
.undo-action, .act-action{
margin-left: 5px;
}
}