diff --git a/.dumi/theme/common/styles/Demo.tsx b/.dumi/theme/common/styles/Demo.tsx index c39e2fc501..e091eb3cc4 100644 --- a/.dumi/theme/common/styles/Demo.tsx +++ b/.dumi/theme/common/styles/Demo.tsx @@ -24,7 +24,6 @@ export default () => { display: inline-block; width: 100%; margin: 0 0 16px; - overflow: hidden; border: 1px solid ${token.colorSplit}; border-radius: ${token.borderRadius}px; transition: all 0.2s; @@ -40,6 +39,7 @@ export default () => { &, .code-box-demo { background-color: ${token.colorBgContainer}; + border-radius: ${token.borderRadius}px; &[data-compact] { padding: 0; diff --git a/.jest.js b/.jest.js index 5938510af2..a4006085a5 100644 --- a/.jest.js +++ b/.jest.js @@ -4,6 +4,7 @@ const compileModules = [ 'react-dnd-html5-backend', '@react-dnd', 'dnd-core', + 'react-sticky-box', 'tween-one', '@babel', '@ant-design', diff --git a/components/tabs/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/tabs/__tests__/__snapshots__/demo-extend.test.ts.snap index acddcca47a..ad4dfe4c63 100644 --- a/components/tabs/__tests__/__snapshots__/demo-extend.test.ts.snap +++ b/components/tabs/__tests__/__snapshots__/demo-extend.test.ts.snap @@ -934,140 +934,139 @@ exports[`renders ./components/tabs/demo/custom-add-trigger.tsx extend context co `; exports[`renders ./components/tabs/demo/custom-tab-bar.tsx extend context correctly 1`] = ` -