We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
加了顏色的也是無法顯示
但是半顆星的卻可以顯示
The text was updated successfully, but these errors were encountered:
找到 Bug 了,因為 Rating 有使用到 ":has()" 選擇器(而 Firefox 還沒支援),
那個 .is-active 的樣式剛好與 :has 整合在同個 Selector,所以 Firefox 直接拋棄掉整個條件。
.is-active
:has
.ts-rating :is(.star,.heart).is-active, .ts-rating.is-input :is(.star,.heart):checked, .ts-rating.is-input :is(.star,.heart):has(~:is(.star,.heart):checked), .ts-rating.is-input :is(.star,.heart):has(~:is(.star,.heart):hover), .ts-rating.is-input :is(.star,.heart):hover
Sorry, something went wrong.
目前能做的修正就是把 .is-active 獨立出來自己一行條件,但你目前需要先用下列樣式修正
.ts-rating :is(.star,.heart).is-active, .ts-rating.is-input :is(.star,.heart):checked { color: var(--color); }
暫時添加上這幾段 CSS,目前正常運作了,感謝您。
6bdbfb1
YamiOdymel
No branches or pull requests
加了顏色的也是無法顯示
但是半顆星的卻可以顯示
The text was updated successfully, but these errors were encountered: