Skip to content

Commit 23d13f1

Browse files
committed
update: remove unused paramater on triangle mixin
1 parent cb7ab05 commit 23d13f1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

qmui/mixin/tool/_effect.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,8 @@
4545
/// @param {Measure} $height - 三角形的高
4646
/// @param {String} $direction - 三角形的方向(即与底边相对的顶点指向的方向)
4747
/// @param {Color} $borderColor - 三角形的边框色
48-
/// @param {Color} $ie6borderColor [#f00] - IE6 不支持 border-color: transparent,而 border 三角形利用了这个特性,因此如果需要兼容 IE6,则需要填写 $ie6borderColor,颜色值一般为三角形背后元素的颜色。
4948
/// @throw 由于方法内包含了有 $width / 2 的计算,因此如果 $width 的值为奇数,则实际上计算出的三角形会偏小,建议 $width 不要使用奇数。
50-
@mixin triangle($width, $height, $direction, $borderColor, $ie6borderColor:#f00) {
49+
@mixin triangle($width, $height, $direction, $borderColor) {
5150
@extend %triangleCommonStyle;
5251
/* 向上小三角 */
5352
@if $direction == top {

0 commit comments

Comments
 (0)