Closed Redlnn closed 1 year ago
可以使用
<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>
以解决这个问题
啊,是这样的~你是想来完成这个PR还是我直接改掉呢?
啊,是这样的~你是想来完成这个PR还是我直接改掉呢?
啊,你直接改掉就好,可以来个co author~
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
啊,我还是直接pr好惹(笑)
Fixed by #74
ui.js
中的getUserProfileCardHTML()
插入了<style>svg{fill:#adadad}</style>
,会导致B站其他 svg 图标异常。版本:0.4.2