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', {
|
export default createWidget('post-small-action', {
|
||||||
tagName: 'div.small-action.onscreen-post.clearfix',
|
tagName: 'div.small-action.onscreen-post.clearfix',
|
||||||
|
|
||||||
|
buildClasses(attrs) {
|
||||||
|
if (attrs.deleted) { return 'deleted'; }
|
||||||
|
},
|
||||||
|
|
||||||
html(attrs) {
|
html(attrs) {
|
||||||
const contents = [];
|
const contents = [];
|
||||||
|
|
||||||
|
|
|
@ -588,11 +588,15 @@ a.mention, a.mention-group {
|
||||||
}
|
}
|
||||||
|
|
||||||
.deleted {
|
.deleted {
|
||||||
.topic-body, .small-action {
|
.topic-body {
|
||||||
background-color: dark-light-diff(rgba($danger,.7), $secondary, 50%, -60%);
|
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 {
|
#share-link {
|
||||||
width: 365px;
|
width: 365px;
|
||||||
margin-left: -4px;
|
margin-left: -4px;
|
||||||
|
|
Loading…
Reference in New Issue