halo-dev / halo

强大易用的开源建站工具。
https://www.halo.run
GNU General Public License v3.0
32.47k stars 9.45k forks source link

fix: resolve styling issue for checkbox when disabled #6240

Closed ruibaby closed 4 days ago

ruibaby commented 4 days ago

What type of PR is this?

/area ui /kind bug /milestone 2.17.x

What this PR does / why we need it:

修复 FormKit 中当 checkbox 为 disabled 时的样式问题。

before:

image

after:

image

Does this PR introduce a user-facing change?

None
codecov[bot] commented 4 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 57.17%. Comparing base (bc10336) to head (0fdd42c). Report is 51 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6240 +/- ## ============================================ + Coverage 54.51% 57.17% +2.66% - Complexity 3523 3720 +197 ============================================ Files 646 648 +2 Lines 21862 21979 +117 Branches 1528 1538 +10 ============================================ + Hits 11917 12566 +649 + Misses 9328 8803 -525 + Partials 617 610 -7 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

f2c-ci-robot[bot] commented 4 days ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JohnNiang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[ui/OWNERS](https://github.com/halo-dev/halo/blob/main/ui/OWNERS)~~ [JohnNiang] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment