datatable показывает пустые места под ссылками на страницы - PullRequest
0 голосов
/ 03 апреля 2019

Я использую административную панель larashop. В таблице данных под пустыми данными отображаются пустые места. Высота пустых пространств увеличивается с увеличением записей в данных. Я не знаю, что делать ..

Я пыталсянекоторые css.но ни один из них не помог мне.

@extends('templates.admin.layout')
@section('title', 'All Courses')

@section('content')
<div class="">

    <div class="row">

        <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="x_panel">
                <div class="x_title">
                    <h2>Courses <a href="{{route('course.add')}}" class="btn btn-primary btn-xs"><i class="fa fa-plus"></i> Create New </a></h2>
                    <div class="clearfix"></div>
                </div>
                <div class="x_content">
                    <table id="datatable-buttons" class="table table-responsive">
                        <thead>
                            <tr>
                                <th>Course Name</th>
                                <th>Action</th>
                            </tr>
                        </thead>
                        <tfoot>
                            <tr>
                                <th>Course Name</th>
                                <th>Action</th>
                            </tr>
                        </tfoot>
                        <tbody>
                            @if(count($courses))
                            @foreach ($courses as $row)
                            <tr>
                                <td>{{$row->name}}</td>
                                <td>
                                    <a href="{{ route('course.edit', ['id' => $row->id]) }}" class="btn btn-info btn-xs"><i class="fa fa-pencil" title="Edit"></i> </a>
                                    <a href="{{ route('course.show', ['id' => $row->id]) }}" class="btn btn-danger btn-xs"><i class="fa fa-trash-o" title="Delete"></i> </a>
                                </td>
                            </tr>
                            @endforeach
                            @endif
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
@stop

Приведен скриншот проблемы .. пожалуйста, проверьте ... https://i.stack.imgur.com/avqf5.png

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...