ant-design / antd-token-previewer

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

feat: Use Anchor instead of Tabs #172

Closed Yuiai01 closed 1 year ago

Yuiai01 commented 1 year ago

使用 Anchor 替代 Tabs

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 4.65% and project coverage change: +0.04 :tada:

Comparison is base (8ee291a) 61.31% compared to head (907a1d8) 61.35%.

:exclamation: Current head 907a1d8 differs from pull request most recent head 3c48d58. Consider uploading reports for the commit 3c48d58 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #172 +/- ## ========================================== + Coverage 61.31% 61.35% +0.04% ========================================== Files 273 274 +1 Lines 1812 1814 +2 Branches 383 385 +2 ========================================== + Hits 1111 1113 +2 Misses 699 699 Partials 2 2 ``` | [Impacted Files](https://codecov.io/gh/ant-design/antd-token-previewer/pull/172?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) | Coverage Δ | | |---|---|---| | [src/ThemeEditor.tsx](https://codecov.io/gh/ant-design/antd-token-previewer/pull/172?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL1RoZW1lRWRpdG9yLnRzeA==) | `12.00% <0.00%> (ø)` | | | [src/meta/category.ts](https://codecov.io/gh/ant-design/antd-token-previewer/pull/172?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL21ldGEvY2F0ZWdvcnkudHM=) | `100.00% <ø> (ø)` | | | [src/token-panel-pro/TokenContent.tsx](https://codecov.io/gh/ant-design/antd-token-previewer/pull/172?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL3Rva2VuLXBhbmVsLXByby9Ub2tlbkNvbnRlbnQudHN4) | `6.81% <0.00%> (+0.05%)` | :arrow_up: | | [src/token-panel-pro/index.tsx](https://codecov.io/gh/ant-design/antd-token-previewer/pull/172?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL3Rva2VuLXBhbmVsLXByby9pbmRleC50c3g=) | `8.69% <0.00%> (-0.40%)` | :arrow_down: | | [src/context/index.ts](https://codecov.io/gh/ant-design/antd-token-previewer/pull/172?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL2NvbnRleHQvaW5kZXgudHM=) | `100.00% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

MadCcc commented 1 year ago

image 这部分要固定住。 下面的 collapse 先改成固定全部展开的吧

Yuiai01 commented 1 year ago

image 这部分要固定住。 下面的 collapse 先改成固定全部展开的吧

MadCcc commented 1 year ago

image 左侧 padding 没有了

MadCcc commented 1 year ago

image 这个整块间距和设计稿对不上

MadCcc commented 1 year ago

image 滚动的时候这个条不会移动