Browse Source

Use .star-icon instead of hardcoding color in detailed statuses (fixes #7610) (#7613)

master
ThibG 6 years ago
committed by Yamagishi Kazutoshi
parent
commit
2587fcdd27
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/features/status/components/action_bar.js

+ 1
- 1
app/javascript/mastodon/features/status/components/action_bar.js View File

@ -155,7 +155,7 @@ export default class ActionBar extends React.PureComponent {
<div className='detailed-status__action-bar'>
<div className='detailed-status__button'><IconButton title={intl.formatMessage(messages.reply)} icon={status.get('in_reply_to_id', null) === null ? 'reply' : 'reply-all'} onClick={this.handleReplyClick} /></div>
<div className='detailed-status__button'><IconButton disabled={reblog_disabled} active={status.get('reblogged')} title={reblog_disabled ? intl.formatMessage(messages.cannot_reblog) : intl.formatMessage(messages.reblog)} icon={reblogIcon} onClick={this.handleReblogClick} /></div>
<div className='detailed-status__button'><IconButton animate active={status.get('favourited')} title={intl.formatMessage(messages.favourite)} icon='star' onClick={this.handleFavouriteClick} activeStyle={{ color: '#ca8f04' }} /></div>
<div className='detailed-status__button'><IconButton className='star-icon' animate active={status.get('favourited')} title={intl.formatMessage(messages.favourite)} icon='star' onClick={this.handleFavouriteClick} /></div>
{shareButton}
<div className='detailed-status__action-bar-dropdown'>

Loading…
Cancel
Save