mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
BUGFIX: better seperation of action from act too.
Also create spans for styling.
This commit is contained in:
parent
9f6102e137
commit
d5d1473ced
2 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -32,4 +32,10 @@
|
|||
|
||||
.contents .cooked {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
}
|
||||
|
||||
.post-action {
|
||||
.undo-action, .act-action{
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue