twbs/bootstrap

Custom checkbox alignment possible regression

Closed this issue · 0 comments

The checkbox alignment was changed in this commit: 82e7abc.

This broke the alignment on our page. I have not overridden the vertical alignment of the element.

Checkbox alignment

That magic number on line 64 looks a bit suspicious to me. Maybe the top margin needs to be calculated.

My $custom-control-indicator-size is 1.5em. Maybe the top value can be calculated from that value and the line height.