Skip to content

Commit 669c06f

Browse files
haiminovoLuckyFBB
authored andcommitted
change question mark size to 16px in component blockHeader (#417)
* change afterTitle question mark to 16px at blockheader component * change question mark size to 16px in blockTitle component
1 parent f12f15a commit 669c06f

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/blockHeader/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,9 @@ const BlockHeader: React.FC<IBlockHeaderProps> = function (props) {
6363

6464
const questionTooltip = tooltip && (
6565
<Tooltip title={tooltip}>
66-
<QuestionCircleOutlined />
66+
<QuestionCircleOutlined className={`${prefixCls}-after-title-icon`} />
6767
</Tooltip>
6868
);
69-
7069
const newAfterTitle = afterTitle || questionTooltip;
7170
let bottomStyle;
7271
if (hasBottom) bottomStyle = { marginBottom: 16 };

src/blockHeader/style.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ $card_prefix: "dtc-block-header";
3737
&-pointer {
3838
cursor: pointer;
3939
}
40+
4041
.#{$card_prefix}-title-box {
4142
flex: 1;
4243
display: flex;
@@ -50,8 +51,14 @@ $card_prefix: "dtc-block-header";
5051
margin-right: 4px;
5152
}
5253
.#{$card_prefix}-after-title {
54+
display: flex;
55+
align-items: center;
5356
color: #8B8FA8;
5457
font-size: 12px;
58+
&-icon {
59+
font-size: 16px;
60+
color: #B1B4C5;
61+
}
5562
}
5663
}
5764

0 commit comments

Comments
 (0)