0

我有一个 Laravel 5.2 应用程序。我正在使用默认的 Laravel 分页。一切正常,但表格的最后一行和分页链接之间有相当多的空白空间。参见图片示例: 在此处输入图像描述

我怎样才能使空白空间少一点?

这是我正在使用的代码:

<table class="table table-striped table-bordered table-list">
   <thead>
      <tr>
         <th class="hidden-xs">Auction id</th>
         <th>Name</th>
         <th>Description</th>
         <th><em class="fa fa-cog"></em>Actions</th>
      </tr>
   </thead>
   <tbody>
       @foreach( $events as $event )
       <tr>
          <td align="center" class="hidden-xs">{{ $auction->id }}</td>
          <td>{{ $event>name }}</td>
          <td>{{ $event->description }}</td>
          <td align="center">
          <div>
            <a href="{!! route('event_index', ['id' => $event->id ]) !!}" type="button" class="btn btn-sm btn-success"><em class="fa fa-list-alt"></em></a>
           </div>
        </tr>
        @endforeach
    </tbody>
</table>
<div class="text-right">
   {{ $events->render() }}
</div>
4

1 回答 1

0
<div class="text-right">
  <!-- Your pagination code here -->
</div>
于 2016-07-07T14:28:23.103 回答