Skip to content

Commit 8600d5f

Browse files
fix: 修复 Space 组件间距并列显示异常 (#7018)
* fix: 修复在next.js环境下的报错 * refactor(deps): 从 ahooks 的 useIsomorphicLayoutEffect 迁移到 rc-util 的 useLayoutEffect * style(space): 移除水平间距的负边距
1 parent 006e607 commit 8600d5f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/components/space/space.less

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
}
2121
&-horizontal {
2222
flex-direction: row;
23-
&:not(:empty) {
24-
margin-right: calc(var(--gap-horizontal) * -1);
25-
}
2623
> .@{class-prefix-space}-item {
2724
margin-right: var(--gap-horizontal);
2825
&:last-child {

0 commit comments

Comments
 (0)