mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-17 23:37:54 +00:00
Merge pull request #471 from impiaaa/thread-icon
Add an extra icon to indicate that a status is part of a conversation
This commit is contained in:
commit
0aba716fe1
|
@ -47,9 +47,15 @@ export default class StatusIcons extends React.PureComponent {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className='status__info__icons'>
|
<div className='status__info__icons'>
|
||||||
|
{status.get('in_reply_to_id', null) !== null ? (
|
||||||
|
<i
|
||||||
|
className={`fa fa-fw fa-comment status__reply-icon`}
|
||||||
|
aria-hidden='true'
|
||||||
|
/>
|
||||||
|
) : null}
|
||||||
{mediaIcon ? (
|
{mediaIcon ? (
|
||||||
<i
|
<i
|
||||||
className={`fa fa-fw fa-${mediaIcon}`}
|
className={`fa fa-fw fa-${mediaIcon} status__media-icon`}
|
||||||
aria-hidden='true'
|
aria-hidden='true'
|
||||||
/>
|
/>
|
||||||
) : null}
|
) : null}
|
||||||
|
|
|
@ -331,8 +331,13 @@
|
||||||
height: 1em;
|
height: 1em;
|
||||||
color: $action-button-color;
|
color: $action-button-color;
|
||||||
|
|
||||||
.status__visibility-icon {
|
.status__media-icon {
|
||||||
padding-left: 6px;
|
padding-left: 6px;
|
||||||
|
padding-right: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.status__visibility-icon {
|
||||||
|
padding-left: 4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue