File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import classNames from '../_util/classNames';
14
14
import ResizeObserver from '../vc-resize-observer' ;
15
15
import useDestroyed from '../_util/hooks/useDestroyed' ;
16
16
import type { MouseEventHandler } from '../_util/EventInterface' ;
17
+ import Space from '../space' ;
17
18
18
19
export const pageHeaderProps = ( ) => ( {
19
20
backIcon : PropTypes . any ,
@@ -123,7 +124,11 @@ const PageHeader = defineComponent({
123
124
{ tags && < span class = { `${ headingPrefixCls } -tags` } > { tags } </ span > }
124
125
</ div >
125
126
) }
126
- { extra && < span class = { `${ headingPrefixCls } -extra` } > { extra } </ span > }
127
+ { extra && (
128
+ < span class = { `${ headingPrefixCls } -extra` } >
129
+ < Space > { extra } </ Space >
130
+ </ span >
131
+ ) }
127
132
</ div >
128
133
) ;
129
134
} ;
Original file line number Diff line number Diff line change 87
87
white-space : nowrap ;
88
88
89
89
> * {
90
- margin-left : @margin-sm ;
91
90
white-space : unset ;
92
91
}
93
-
94
- > * :first-child {
95
- margin-left : 0 ;
96
- }
97
92
}
98
93
}
99
94
Original file line number Diff line number Diff line change @@ -3,3 +3,4 @@ import './index.less';
3
3
// style dependencies
4
4
import '../../breadcrumb/style' ;
5
5
import '../../avatar/style' ;
6
+ import '../../space/style' ;
You can’t perform that action at this time.
0 commit comments