mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 21:19:37 +08:00
parent
e67270cd59
commit
16ed7273dd
@ -70,7 +70,7 @@ const renderTitle = (prefixCls: string, props: PageHeaderProps) => {
|
|||||||
const titlePrefixCls = `${prefixCls}-title-view`;
|
const titlePrefixCls = `${prefixCls}-title-view`;
|
||||||
if (title || subTitle || tags || extra) {
|
if (title || subTitle || tags || extra) {
|
||||||
return (
|
return (
|
||||||
<div className={`${prefixCls}-title-view`}>
|
<div className={titlePrefixCls}>
|
||||||
{title && <span className={`${titlePrefixCls}-title`}>{title}</span>}
|
{title && <span className={`${titlePrefixCls}-title`}>{title}</span>}
|
||||||
{subTitle && <span className={`${titlePrefixCls}-sub-title`}>{subTitle}</span>}
|
{subTitle && <span className={`${titlePrefixCls}-sub-title`}>{subTitle}</span>}
|
||||||
{tags && <span className={`${titlePrefixCls}-tags`}>{tags}</span>}
|
{tags && <span className={`${titlePrefixCls}-tags`}>{tags}</span>}
|
||||||
|
@ -65,9 +65,9 @@
|
|||||||
top: 16px;
|
top: 16px;
|
||||||
right: @page-header-padding-horizontal;
|
right: @page-header-padding-horizontal;
|
||||||
> * {
|
> * {
|
||||||
margin-right: 8px;
|
margin-left: 8px;
|
||||||
}
|
}
|
||||||
> *:last-child {
|
> *:first-child {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user