Skip to content
This repository has been archived by the owner on May 16, 2019. It is now read-only.

Commit

Permalink
投稿詳細ページでのニコるの色修正 / ←により不要になったnicoru-detailedの削除
Browse files Browse the repository at this point in the history
  • Loading branch information
rinsuki committed Jan 29, 2019
1 parent b4cc1a1 commit f4102ad
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion app/javascript/images/nicoru-detailed.svg

This file was deleted.

1 change: 0 additions & 1 deletion app/javascript/mastodon/nicoru.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ export default {
main: require('../images/nicoru.svg'),
column: require('../images/nicoru-column.svg'),
status: require('../images/nicoru-status.svg'),
detailed: require('../images/nicoru-detailed.svg'),
};
6 changes: 0 additions & 6 deletions app/javascript/styles/nico/nicoru.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,4 @@ button.icon-button.active i.fa-nicoru {
@extend .fa-nicoru;
background-image: url('../images/nicoru-status.svg');
}

&--detailed {
@extend .fa-nicoru;
background-image: url('../images/nicoru-detailed.svg');
vertical-align: middle;
}
}
2 changes: 1 addition & 1 deletion app/views/stream_entries/_detailed_status.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
= " "
·
= link_to remote_interaction_path(status), class: 'modal-button detailed-status__link' do
= fa_icon('nicoru--detailed')
= fa_icon('nicoru--status')
%span.detailed-status__favorites>= number_to_human status.favourites_count, strip_insignificant_zeros: true
= " "

Expand Down

0 comments on commit f4102ad

Please sign in to comment.