Added toot visibility icons and removed Boost btn changing icon
This commit is contained in:
parent
0be888ca96
commit
3785bfc9fc
3 changed files with 32 additions and 0 deletions
|
@ -122,11 +122,13 @@ export default class StatusActionBar extends ImmutablePureComponent {
|
|||
menu.push({ text: intl.formatMessage(messages.report, { name: status.getIn(['account', 'username']) }), action: this.handleReport });
|
||||
}
|
||||
|
||||
/*
|
||||
if (status.get('visibility') === 'direct') {
|
||||
reblogIcon = 'envelope';
|
||||
} else if (status.get('visibility') === 'private') {
|
||||
reblogIcon = 'lock';
|
||||
}
|
||||
*/
|
||||
|
||||
if (status.get('in_reply_to_id', null) === null) {
|
||||
replyIcon = 'reply';
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -611,6 +611,22 @@
|
|||
.notification__message {
|
||||
margin: -10px 0 10px;
|
||||
}
|
||||
|
||||
// Visibility icons
|
||||
&::before {
|
||||
float: right;
|
||||
padding-top: 5px;
|
||||
margin-left: 8px;
|
||||
font-family: "FontAwesome";
|
||||
color: lighten($ui-base-color, 26%);
|
||||
text-align: center;
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
&.status-public::before { content: "\F0AC" }
|
||||
&.status-unlisted::before { content: "\F13E" }
|
||||
&.status-private::before { content: "\F023" }
|
||||
&.status-direct::before { content: "\F0E0" }
|
||||
}
|
||||
|
||||
.notification-favourite {
|
||||
|
|
Loading…
Reference in a new issue