mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-22 05:03:16 +02:00
Merge pull request #21034 from twbs/better-custom-control-alignment
Calculcate the top offset for custom control indicators
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user