1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 08:39:56 +02:00

Backport "Use escape-svg() function (#29077)"

Adapted for v4-dev.
This commit is contained in:
Martijn Cuppens
2019-07-20 04:57:12 +03:00
committed by XhmikosR
parent 68ab243ffa
commit c26e68427c
8 changed files with 44 additions and 22 deletions

View File

@@ -69,7 +69,7 @@
@if $enable-validation-icons {
padding-right: $input-height-inner;
background-image: $icon;
background-image: escape-svg($icon);
background-repeat: no-repeat;
background-position: right $input-height-inner-quarter center;
background-size: $input-height-inner-half $input-height-inner-half;
@@ -103,7 +103,7 @@
@if $enable-validation-icons {
padding-right: $custom-select-feedback-icon-padding-right;
background: $custom-select-background, $icon $custom-select-bg no-repeat $custom-select-feedback-icon-position / $custom-select-feedback-icon-size;
background: $custom-select-background, escape-svg($icon) $custom-select-bg no-repeat $custom-select-feedback-icon-position / $custom-select-feedback-icon-size;
}
&:focus {