0

Laravel 5.2 응용 프로그램이 있습니다. 기본 Laravel 페이지 매김을 사용하고 있습니다. 모든 것은 기능적으로 작동하지만 테이블의 마지막 행과 페이지 매김 링크 사이에 약간의 빈 공간이 있습니다. 예를 보려면 그림을 참조하십시오. enter image description hereLaravel 5.2 페이지 매김 : 테이블과의 거리를 줄이는 방법

빈 공간을 조금 더 작게 만들 수 있습니까? 여기

나는 코드를 사용하고 있습니다 :

<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> 
+1

당신이 몇 가지 코드를 공유 할 수 있습니까? – ggderas

답변

0
<div class="text-right"> 
    <!-- Your pagination code here --> 
</div> 
+0

이것은 오른쪽 정렬을 위해 작동하지만 마지막 행과 페이지 매김 사이의 거리를 줄이는 방법입니다. 원래의 질문을 일부 코드로 업데이트했습니다 ... – wiwa1978

+0

@ wiwa1978 귀하의 신청서를 모르겠습니다. 브라우저의 개발자 도구를보고 요소의 여백과 패딩을 확인하십시오. –

+0

이렇게하면 .pagination이 표시됩니다. display : inline-block; 패딩 왼쪽 : 0; 여백 : 20px 0; border-radius : 4px; }하지만 이것은 CDN에서 얻는 bootstrap.css 파일에 있습니다. 이 여백 값을 무시할 수있는 방법이 있습니까? – wiwa1978