-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
Hi There,
I see there is two width properties - data-handle-width and data-label-width. The issue I have is when I need to have entire switch adjusted with _width = 100%_ within the following code snippet:
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-6">
<input class="btn btn-lg btn-block" type="checkbox" data-label-text="Login" name="guest">
</div>
<div class="col-lg-6 col-md-6 col-sm-6">
<input type="checkbox" data-label-text="Set Name" name="name">
</div>
</div>
If I put style="width: 100% to checkbox element it is overridden by bootstrap switch initialization code.
So how to solve it?
Reactions are currently unavailable