While attempting to create a checkbox using the Bootstrap form-check
class, I encountered an issue with my code. Here is the snippet:
<form>
<div class="form-section">
<div>Title</div>
<div class="form-check">
<input id="checkbox1" class="form-check-input" type="checkbox">
<label class="form-check-label" for="checkbox1">
VS-57KM-Z9M1-WC6B-SRXL
</label>
</div>
</div>
<button class="btn btn-success w-100" type="submit">Confirm</button>
</form>
The styling for the .form-section
class looks like this:
.form-section {
display: grid;
grid-auto-flow: column;
grid-template-columns: 120px;
margin: 10px;
text-align: left;
}
Unfortunately, upon loading the page, this is the result...
https://i.sstatic.net/19SC5.png
An intriguing observation is that this issue only occurs on Windows, while on Mac everything functions correctly. Both systems are running Google Chrome. Any assistance would be greatly appreciated. Thank you!