IDuxFE / idux

🚀 A UI Component Library for Vue3.x
https://idux.site
MIT License
545 stars 141 forks source link

fix(comp:table): height of checkbox or radio in selectable column cell isn't right #1859

Closed sallerli1 closed 8 months ago

sallerli1 commented 8 months ago

PR Checklist

Please check if your PR fulfills the following requirements:

What is the current behavior?

表格的 selectable 列,checkbox和radio的高度不正常,导致showIndex开启之后,悬浮上去高度抖动

What is the new behavior?

将checkbox和radio的vertical-align设置为middle,并且在table-cell上加上类型相关的class,selectable column下的checkbox和radio的line-height均设置为1

Other information

idux-bot[bot] commented 8 months ago

This preview will be available after the AzureCI is passed.

codecov[bot] commented 8 months ago

Codecov Report

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

Project coverage is 91.19%. Comparing base (654ad1a) to head (1cb32c6).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1859 +/- ## ======================================= Coverage 91.19% 91.19% ======================================= Files 349 349 Lines 34269 34269 Branches 3764 3764 ======================================= Hits 31250 31250 Misses 3019 3019 ```

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