[F] Fix dart-sass warning
This commit is contained in:
@@ -52,8 +52,8 @@ $tag-height: 20px
|
|||||||
$tag-color: $color-bg-6
|
$tag-color: $color-bg-6
|
||||||
$text-color: $color-text-light
|
$text-color: $color-text-light
|
||||||
|
|
||||||
$padding: $tag-height / 2
|
$padding: calc($tag-height / 2)
|
||||||
$triangle-width: $tag-height / 2 * 0.8
|
$triangle-width: calc($tag-height / 2) * 0.8
|
||||||
|
|
||||||
.tag-wrap
|
.tag-wrap
|
||||||
display: inline-block
|
display: inline-block
|
||||||
@@ -67,8 +67,8 @@ $triangle-width: $tag-height / 2 * 0.8
|
|||||||
transition: color 0.2s
|
transition: color 0.2s
|
||||||
|
|
||||||
.after
|
.after
|
||||||
border-bottom: $tag-height / 2 solid transparent
|
border-bottom: $padding solid transparent
|
||||||
border-top: $tag-height / 2 solid transparent
|
border-top: $padding solid transparent
|
||||||
border-left: $triangle-width solid $tag-color
|
border-left: $triangle-width solid $tag-color
|
||||||
position: absolute
|
position: absolute
|
||||||
top: 0
|
top: 0
|
||||||
|
|||||||
Reference in New Issue
Block a user