Pardon me, this might be silly question.
I'm trying to mix bootstrap 3 with twitter bootstrap wizard in Meteor:
<template name="bootstrapWizard">
<div id="rootwizard" class="tabbable tabs-left col-sm-6">
<ul>
<li><a href="#tab1" data-toggle="tab">First</a></li>
<li><a href="#tab2" data-toggle="tab">Second</a></li>
<li><a href="#tab3" data-toggle="tab">Third</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane" id="tab1">
<form class="form-horizontal" role="form">
<div class="form-group">
<label class="control-label col-sm-2" for="email">Email:</label>
<div class="col-sm-4">
<input type="email" class="form-control" id="email" placeholder="Enter email">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2" for="pwd">Password:</label>
<div class="col-sm-4">
<input type="password" class="form-control" id="pwd" placeholder="Enter password">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-default">Submit</button>
</div>
</div>
</form>
</div>
<div class="tab-pane" id="tab2">
2
</div>
<div class="tab-pane" id="tab3">
3
</div>
<ul class="pager wizard">
<li class="previous first" style="display:none;"><a href="#">First</a></li>
<li class="previous"><a href="#">Previous</a></li>
<li class="next last" style="display:none;"><a href="#">Last</a></li>
<li class="next"><a href="#">Next</a></li>
</ul>
</div>
</div>
</template>
The column (or grid (?)) doesn't work well. If I take class="form-horizontal"
out, the rows does get closer, but not how it should be.
I'm really new to this CSS and bootstrap stuffs, but I've wandered on stackoverflow for a couple of minutes and couldn't find similar cases.
Wondering if there's any bootstrap CSS class i should've used...
*Reference: bootstrap wizard and twbs:bootstrap 3.3.5