`ui.js`中插入的css导致B站部分图标样式异常
Closed this issue · 6 comments
Redlnn commented
Redlnn commented
可以使用
<svg xmlns="http://www.w3.org/2000/svg" height="12px" viewBox="0 0 512 512" fill="#adadad">
<!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc.-->
<path ... />
</svg>
来代替
<svg xmlns="http://www.w3.org/2000/svg" height="12px" viewBox="0 0 512 512">
<!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. -->
<style>
svg {
fill: #adadad
}
</style>
<path ... />
</svg>
以解决这个问题
gaogaotiantian commented
啊,是这样的~你是想来完成这个PR还是我直接改掉呢?
Redlnn commented
啊,是这样的~你是想来完成这个PR还是我直接改掉呢?
啊,你直接改掉就好,可以来个co author~
gaogaotiantian commented
co author的话,需要提供一下你的email。如果你希望keep your email private,可以提供github的no-reply email https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/setting-your-commit-email-address
Redlnn commented
啊,我还是直接pr好惹(笑)
gaogaotiantian commented
Fixed by #74