From 6cbcbd88f7424d8fa2e0bdb4d0e6729c1afee01c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Thu, 26 Oct 2023 11:58:40 +0200 Subject: [PATCH] . --- scss/mixins/_forms.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scss/mixins/_forms.scss b/scss/mixins/_forms.scss index f7882b9d29..a01e48c700 100644 --- a/scss/mixins/_forms.scss +++ b/scss/mixins/_forms.scss @@ -30,7 +30,7 @@ padding-right: $input-height-inner; background-image: escape-svg($icon); background-repeat: no-repeat; - background-position: right subtract($input-height-inner-quarter, 2px) top subtract($input-height-inner-quarter, 2px); + background-position: right subtract($input-height-inner-quarter, $input-border-width) top subtract($input-height-inner-quarter, $input-border-width); background-size: $input-height-inner-half $input-height-inner-half; } } @@ -49,7 +49,7 @@ .form-control-color { @include form-validation-state-selector($state) { - width: calc(#{$form-color-width} + #{$input-height-inner-half} + #{$input-height-inner-quarter} - 2px); // stylelint-disable-line function-disallowed-list + width: calc(#{$form-color-width} + #{$input-height-inner-half} + #{$input-height-inner-quarter} - #{$input-border-width}); // stylelint-disable-line function-disallowed-list } } }