【发布时间】:2020-04-21 14:02:32
【问题描述】:
我正在使用 Asp.Net MVC 开发调查应用程序。在 Bootstrap v4 中,我有 2 个相邻的表,它们之间有垂直按钮组。按钮组有两个按钮,用于将选定的行/行从左向右或从右向左移动。但我不能正确地适应它们。我的右表有问题。有时右表移动到左表下方。我想彼此靠近。这是我犯错的地方。
<div class="row flex-row">
<div class="col form-group">
<table id="leftTable" class="table table-striped table-bordered accent-blue table-responsive ">
<thead>
<tr>
<th>Soru No</th>
<th>Soru Adı</th>
</tr>
</thead>
</table>
</div>
<div class="col-md-1 flex-col">
<div class="btn-group-vertical">
<a class="btn btn-primary" id="btnRight" style="margin-bottom: 3px"><i class="fa fa-chevron-right"></i>Soru Ekle</a>
<a class="btn btn-primary" id="btnLeft"><i class="fa fa-chevron-left"></i>Soru Sil</a>
</div>
</div>
<div class="col form-group">
<table id="rightTable" class="table table-striped table-bordered accent-blue table-responsive">
<thead>
<tr>
<th>#</th>
<th>Soru No</th>
<th>Soru Adı</th>
</tr>
</thead>
</table>
</div>
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" />
</div>
【问题讨论】:
标签: jquery twitter-bootstrap bootstrap-4 modal-dialog