Skip to content

Commit

Permalink
fix(Label): add form-label class for labels of vertical forms
Browse files Browse the repository at this point in the history
  • Loading branch information
Phoebe Gao committed Sep 27, 2021
1 parent a3ae9ec commit f47429c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Label.js
Expand Up @@ -99,7 +99,7 @@ const Label = (props) => {
check ? 'form-check-label' : false,
size ? `col-form-label-${size}` : false,
colClasses,
colClasses.length ? 'col-form-label' : false
colClasses.length ? 'col-form-label' : 'form-label'
), cssModule);

return (
Expand Down

0 comments on commit f47429c

Please sign in to comment.