ant-design / antd-token-previewer

https://ant-design.github.io/antd-token-previewer
MIT License
71 stars 21 forks source link

style: add title attribute to display token value #202

Closed Yuiai01 closed 1 year ago

Yuiai01 commented 1 year ago

由于之前的 token 值会被省略截断,为了增加可读性,因此添加 Tooltip 来显示 token 值。

codecov-commenter commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (10f9f62) 32.58% compared to head (a65614c) 32.58%.

:exclamation: Current head a65614c differs from pull request most recent head 036d590. Consider uploading reports for the commit 036d590 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #202 +/- ## ======================================= Coverage 32.58% 32.58% ======================================= Files 282 282 Lines 2090 2090 Branches 461 461 ======================================= Hits 681 681 Misses 1409 1409 ``` | [Files Changed](https://app.codecov.io/gh/ant-design/antd-token-previewer/pull/202?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) | Coverage Δ | | |---|---|---| | [src/token-panel-pro/TokenContent.tsx](https://app.codecov.io/gh/ant-design/antd-token-previewer/pull/202?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL3Rva2VuLXBhbmVsLXByby9Ub2tlbkNvbnRlbnQudHN4) | `5.48% <ø> (ø)` | |

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