Merge pull request #471 from impiaaa/thread-icon

Add an extra icon to indicate that a status is part of a conversation
lolsob-rspec
David Yip 2018-06-01 00:35:13 -05:00 committed by GitHub
commit bbe1731bb0
2 changed files with 13 additions and 2 deletions

View File

@ -47,9 +47,15 @@ export default class StatusIcons extends React.PureComponent {
return (
<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 ? (
<i
className={`fa fa-fw fa-${mediaIcon}`}
className={`fa fa-fw fa-${mediaIcon} status__media-icon`}
aria-hidden='true'
/>
) : null}

View File

@ -331,8 +331,13 @@
height: 1em;
color: $action-button-color;
.status__visibility-icon {
.status__media-icon {
padding-left: 6px;
padding-right: 1px;
}
.status__visibility-icon {
padding-left: 4px;
}
}