2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03:00

Merge pull request #21034 from twbs/better-custom-control-alignment

Calculcate the top offset for custom control indicators
This commit is contained in:
Mark Otto
2016-10-27 21:22:24 -07:00
committed by GitHub
+1 -1
View File
@@ -61,7 +61,7 @@
.custom-control-indicator { .custom-control-indicator {
position: absolute; position: absolute;
top: .25rem; top: (($line-height-base - $custom-control-indicator-size) / 2);
left: 0; left: 0;
display: block; display: block;
width: $custom-control-indicator-size; width: $custom-control-indicator-size;