Skip to content

Commit 92c586b

Browse files
fix(module:tooltip): fix arrow color when custom color (#8555)
1 parent 0be6178 commit 92c586b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/tooltip/tooltip.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export class NzToolTipComponent extends NzTooltipBaseComponent {
153153

154154
this._contentStyleMap = {
155155
backgroundColor: !!this.nzColor && !isColorPreset ? this.nzColor : null,
156-
'--color': this.nzColor
156+
'--antd-arrow-background-color': this.nzColor
157157
};
158158
}
159159
}

0 commit comments

Comments
 (0)