Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ランキングブロックの評価アイコンの表示 #172

Merged
merged 1 commit into from Jan 16, 2024

Conversation

xs-khosomi
Copy link
Contributor

フォーラム https://wp-cocoon.com/community/postid/76467/

■ 原因

fontawesome v4のアイコンをv5のsvgに置換しているのが原因

■ 対応

node_moduleのfontawesomeをv5に変更
各ブロックのアイコンを置換なしで表示されるように変更
置換処理を行っていたjavascriptの読み込みを削除
ランキングブロックの評価アイコンにv4→v5にクラス変換する処理を追加

@xs-khosomi xs-khosomi added the bug 🐛 Something isn't working label Jan 16, 2024
@xs-khosomi xs-khosomi self-assigned this Jan 16, 2024
@yhira
Copy link
Collaborator

yhira commented Jan 16, 2024

ありがとうございます!
そんな方法で対応できるですね。
これから動作を確認してみます。

@yhira yhira merged commit 0e723ab into xserver-inc:master Jan 16, 2024
@yhira
Copy link
Collaborator

yhira commented Jan 16, 2024

Font Awesome 4、Font Awesome 5双方とも正常にアイコンが表示されることを確認いたしました。
2024-01-17_07h37_32

あたしが入院中で無かったとしても、ここまでスマートな対応はできなかったと思います。
ご修正いただきありがとうございます!

@xs-khosomi xs-khosomi deleted the fix/block-icon-view branch January 16, 2024 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants