From 0baab01c39d3818f36bd17584893dfd1053738cf Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 1 Dec 2022 19:10:37 +0800 Subject: [PATCH] docs: site detail --- .dumi/theme/slots/Header/Navigation.tsx | 2 +- .dumi/theme/slots/Header/SwitchBtn.tsx | 4 ---- .dumi/theme/slots/Header/index.tsx | 5 +++-- docs/spec/introduce.en-US.md | 2 +- docs/spec/overview.en-US.md | 2 +- 5 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.dumi/theme/slots/Header/Navigation.tsx b/.dumi/theme/slots/Header/Navigation.tsx index 3d8249f0a5..b98f765ef4 100644 --- a/.dumi/theme/slots/Header/Navigation.tsx +++ b/.dumi/theme/slots/Header/Navigation.tsx @@ -148,7 +148,7 @@ export default ({ target="_blank" rel="noopener noreferrer" > - Github + GitHub ), key: 'github', diff --git a/.dumi/theme/slots/Header/SwitchBtn.tsx b/.dumi/theme/slots/Header/SwitchBtn.tsx index 2e89610074..b532b03ea4 100644 --- a/.dumi/theme/slots/Header/SwitchBtn.tsx +++ b/.dumi/theme/slots/Header/SwitchBtn.tsx @@ -41,10 +41,6 @@ const useStyle = () => { &:hover { background: ${token.colorBgTextHover}; - - .btn-inner { - transform: scale(1.1); - } } img { diff --git a/.dumi/theme/slots/Header/index.tsx b/.dumi/theme/slots/Header/index.tsx index c6b255be8a..9dc42060fb 100644 --- a/.dumi/theme/slots/Header/index.tsx +++ b/.dumi/theme/slots/Header/index.tsx @@ -352,7 +352,7 @@ const Header: React.FC = (props) => { target="_blank" href="https://github.com/ant-design/ant-design/issues/38463" > - Github Issue + GitHub Issue {' '} 反馈。 @@ -366,7 +366,7 @@ const Header: React.FC = (props) => { target="_blank" href="https://github.com/ant-design/ant-design/issues/38463" > - Github Issue + GitHub Issue . @@ -383,6 +383,7 @@ const Header: React.FC = (props) => { defaultValue={antdVersion} onChange={handleVersionChange} dropdownStyle={getDropdownStyle} + dropdownMatchSelectWidth={false} getPopupContainer={(trigger) => trigger.parentNode} onClick={onClose} > diff --git a/docs/spec/introduce.en-US.md b/docs/spec/introduce.en-US.md index c2e5679939..fc57bfcffa 100644 --- a/docs/spec/introduce.en-US.md +++ b/docs/spec/introduce.en-US.md @@ -64,4 +64,4 @@ We provide comprehensive design guidelines, best practices, resources, and tools ## How to Contribute -Contributions to Ant Design on Github are welcomed! Whether you have questions, concerns, or suggestions for improving Ant Design - please don't hesitate to reach out to us [here](https://github.com/ant-design/ant-design/issues). +Contributions to Ant Design on GitHub are welcomed! Whether you have questions, concerns, or suggestions for improving Ant Design - please don't hesitate to reach out to us [here](https://github.com/ant-design/ant-design/issues). diff --git a/docs/spec/overview.en-US.md b/docs/spec/overview.en-US.md index 4c50464c4c..94b631ff05 100644 --- a/docs/spec/overview.en-US.md +++ b/docs/spec/overview.en-US.md @@ -10,7 +10,7 @@ The use of design patterns in enterprise-level businesses can significantly incr Design patterns adhere to Ant Design design values and provide a general solution to recurring design issues in enterprise products. The designer can directly use the design pattern to complete the interface design, or the design pattern can be used as a starting point to derive a more business-specific solution to meet the individual design needs. -At the same time, this is a dynamically updated design document, and your reading and feedback is the driving force behind our progress, [Github Feedback Address](https://github.com/ant-design/ant-design/issues). +At the same time, this is a dynamically updated design document, and your reading and feedback is the driving force behind our progress, [GitHub Feedback Address](https://github.com/ant-design/ant-design/issues). ## Framework Information