mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
UX: staged posts show up with opacity 0.4 till on server
This commit is contained in:
parent
dbc25a9d64
commit
86b3de510b
2 changed files with 5 additions and 0 deletions
|
@ -401,6 +401,7 @@ export default createWidget('post', {
|
|||
if (attrs.cloaked) { return 'cloaked-post'; }
|
||||
const classNames = ['topic-post', 'clearfix'];
|
||||
|
||||
if (attrs.id === -1) { classNames.push('staged'); }
|
||||
if (attrs.selected) { classNames.push('selected'); }
|
||||
if (attrs.topicOwner) { classNames.push('topic-owner'); }
|
||||
if (attrs.hidden) { classNames.push('post-hidden'); }
|
||||
|
|
|
@ -107,6 +107,10 @@ aside.quote {
|
|||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.topic-post.staged {
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
|
||||
.quote-controls {
|
||||
float: right;
|
||||
|
|
Loading…
Reference in a new issue