I am struggling to display the form label on a single line, as it currently appears on two lines. Any suggestions for showing the form label in a single line?
https://i.sstatic.net/cXddd.png
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="9ffdf0f0ebecebedfeefdfabb1a9b1ad">[email protected]</a>/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
<div class="container">
<h2 class="mt32">Bootstrap 4 Horizontal Form</h2>
<form class="mt32" action="#">
<div class="row">
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">
<div class="form-group row">
<label for="fname" class="control-label col-sm-2">First Name</label>
<div class="col-sm-10">
<input
type="text"
class="form-control"
id="fname"
placeholder="First name"
/>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">
<div class="form-group row">
<label for="lname" class="control-label col-sm-2">Last Name</label>
<div class="col-sm-10">
<input
type="text"
class="form-control"
id="lname"
placeholder="Last name"
/>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">
<div class="form-group row">
<label for="sportsname" class="control-label col-sm-2">Sports</label>
<div class="col-sm-10">
<input
type="text"
class="form-control"
id="sportsname"
placeholder="Sports name"
/>
</div>
</div>
</div>
<div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">
<div class="form-group row">
<label for="sname" class="control-label col-sm-2">School Name</label>
<div class="col-sm-10">
<input
type="text"
class="form-control"
id="sname"
placeholder="School name"
/>
</div>
</div>
</div>
</div>
</form>
</div>
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="5f352e2a3a2d261f6c716a716e">[email protected]</a>/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="f99b96968d8a8d8b9889b9cdd7cfd7cb">[email protected]</a>/dist/js/bootstrap.bundle.min.js" integrity="sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct" crossorigin="anonymous"></script>
Is there a way to have the label name displayed on a single line?