You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As seen in the picture above, the label of a stacked checkbox stretches to the full with of the parent container. This can cause issues when a user clicks far right from the visible label and accidentally toggles a checkbox or radio.
A simple fix would be to set align-items for the custom-controls-stacked container to flex-start (see picture below).
The text was updated successfully, but these errors were encountered:
jacobmllr95
changed the title
Custom stacked checkboxes label full width
Custom stacked checkbox label stretches to full width
Nov 27, 2017
Operating system and version: Any
Browser and version: Any
Test case: https://getbootstrap.com/docs/4.0/components/forms/#stacked
As seen in the picture above, the label of a stacked checkbox stretches to the full with of the parent container. This can cause issues when a user clicks far right from the visible label and accidentally toggles a checkbox or radio.
A simple fix would be to set
align-items
for thecustom-controls-stacked
container toflex-start
(see picture below).The text was updated successfully, but these errors were encountered: