scss: convert $wcs-step-marker-type to string before str-index() (#40285)

This commit is contained in:
Frédéric Péters 2020-03-02 09:56:32 +01:00
parent ba2d94f07f
commit 42602a8669
1 changed files with 2 additions and 3 deletions

View File

@ -393,9 +393,8 @@ $mq-min--wcs-steps-horizontal-layout: "min-width: #{$wcs-steps-small-layout-limi
}
}
// OPTION marker type DISC
@if (str-index(quote($wcs-step-marker-type), 'disc')) {
@if (str-index('#{$wcs-step-marker-type}', 'disc')) {
.wcs-step {
&--marker {
border-radius: 50% !important;
@ -410,7 +409,7 @@ $mq-min--wcs-steps-horizontal-layout: "min-width: #{$wcs-steps-small-layout-limi
}
// OPTION marker type TIED
@if (str-index(quote($wcs-step-marker-type), 'tied')) {
@if (str-index('#{$wcs-step-marker-type}', 'tied')) {
.wcs-step {
&:not(:last-child) {