Skip to content

Commit 8a6720d

Browse files
authored
fix(blockheader): #471, add tooltip icon size 16 and change color (#473)
1 parent 50990ab commit 8a6720d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/components/blockHeader/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const BlockHeader: React.FC<BlockHeaderProps> = function (props) {
5353
const { beforeTitle = <div className={`default ${isSmall ? 'small' : ''}`}></div> } = props;
5454
const questionTooltip = tooltip && (
5555
<Tooltip title={tooltip}>
56-
<QuestionCircleOutlined />
56+
<QuestionCircleOutlined className={`${prefixCls}-after-title-icon`} />
5757
</Tooltip>
5858
);
5959
const newAfterTitle = afterTitle || questionTooltip;

src/components/blockHeader/style.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,14 @@ $card_prefix: "dtc-block-header";
5757
margin-right: 4px;
5858
}
5959
.#{$card_prefix}-after-title {
60+
display: flex;
61+
align-items: center;
6062
color: #8B8FA8;
6163
font-size: 12px;
64+
&-icon {
65+
font-size: 16px;
66+
color: #B1B4C5;
67+
}
6268
}
6369
}
6470

0 commit comments

Comments
 (0)