diff --git a/.dumi/components/SemanticPreview.tsx b/.dumi/components/SemanticPreview.tsx index b3005a8189..8641dc25ea 100644 --- a/.dumi/components/SemanticPreview.tsx +++ b/.dumi/components/SemanticPreview.tsx @@ -9,7 +9,7 @@ const useStyle = createStyles(({ token }, markPos: [number, number, number, numb container: css` position: relative; `, - col: css` + colWrap: css` border-right: 1px solid ${token.colorBorderSecondary}; display: flex; justify-content: center; @@ -18,17 +18,16 @@ const useStyle = createStyles(({ token }, markPos: [number, number, number, numb overflow: hidden; `, listWrap: css` - row-gap: ${token.paddingXS}px; + display: flex; + flex-direction: column; list-style: none; margin: 0; padding: 0; - flex-direction: column; overflow: hidden; `, listItem: css` cursor: pointer; - padding-block: ${token.paddingXS}px; - padding-inline: ${token.paddingSM}px; + padding: ${token.paddingSM}px; transition: background-color ${token.motionDurationFast} ease; &:hover { background-color: ${token.controlItemBgHover}; @@ -137,7 +136,7 @@ const SemanticPreview: React.FC = (props) => { return (
- + {cloneNode}