FIX: Small post actions weren't applying the `deleted` class
This commit is contained in:
parent
786f6ff8b0
commit
5af00da2d8
|
@ -26,6 +26,10 @@ const icons = {
|
|||
export default createWidget('post-small-action', {
|
||||
tagName: 'div.small-action.onscreen-post.clearfix',
|
||||
|
||||
buildClasses(attrs) {
|
||||
if (attrs.deleted) { return 'deleted'; }
|
||||
},
|
||||
|
||||
html(attrs) {
|
||||
const contents = [];
|
||||
|
||||
|
|
|
@ -588,11 +588,15 @@ a.mention, a.mention-group {
|
|||
}
|
||||
|
||||
.deleted {
|
||||
.topic-body, .small-action {
|
||||
.topic-body {
|
||||
background-color: dark-light-diff(rgba($danger,.7), $secondary, 50%, -60%);
|
||||
}
|
||||
}
|
||||
|
||||
.small-action.deleted {
|
||||
background-color: dark-light-diff(rgba($danger,.7), $secondary, 50%, -60%);
|
||||
}
|
||||
|
||||
#share-link {
|
||||
width: 365px;
|
||||
margin-left: -4px;
|
||||
|
|
Loading…
Reference in New Issue