aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-10-27 21:22:24 -0700
committerGitHub <[email protected]>2016-10-27 21:22:24 -0700
commit4a0511602063f16fb9b745afca469dde5c99a77a (patch)
tree5169c6ec91fb14a6b2d02cb515978a1cea7dd76c
parentfa0605132f0fd7646263c866829130de3dcf9c65 (diff)
parent2dcc50f01715302cdcbe5ae49c7539b0288f63ab (diff)
downloadbootstrap-4a0511602063f16fb9b745afca469dde5c99a77a.tar.xz
bootstrap-4a0511602063f16fb9b745afca469dde5c99a77a.zip
Merge pull request #21034 from twbs/better-custom-control-alignment
Calculcate the top offset for custom control indicators
-rw-r--r--scss/_custom-forms.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss
index e74f5c744..18aedc66f 100644
--- a/scss/_custom-forms.scss
+++ b/scss/_custom-forms.scss
@@ -61,7 +61,7 @@
.custom-control-indicator {
position: absolute;
- top: .25rem;
+ top: (($line-height-base - $custom-control-indicator-size) / 2);
left: 0;
display: block;
width: $custom-control-indicator-size;