Merge pull request #471 from impiaaa/thread-icon

Add an extra icon to indicate that a status is part of a conversation
master
David Yip 7 years ago committed by GitHub
commit 0aba716fe1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      app/javascript/flavours/glitch/components/status_icons.js
  2. 7
      app/javascript/flavours/glitch/styles/components/status.scss

@ -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}

@ -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;
}
}

Loading…
Cancel
Save