.custom-control {
position: relative;
display: block;
- min-height: (1rem * $line-height-base);
+ min-height: ($font-size-base * $line-height-base);
padding-left: $custom-control-gutter;
}
// Background-color and (when enabled) gradient
&::before {
position: absolute;
- top: (($line-height-base - $custom-control-indicator-size) / 2);
+ top: (($font-size-base * $line-height-base - $custom-control-indicator-size) / 2);
left: -$custom-control-gutter;
display: block;
width: $custom-control-indicator-size;
// Foreground (icon)
&::after {
position: absolute;
- top: (($line-height-base - $custom-control-indicator-size) / 2);
+ top: (($font-size-base * $line-height-base - $custom-control-indicator-size) / 2);
left: -$custom-control-gutter;
display: block;
width: $custom-control-indicator-size;